Skip to content

Commit

Permalink
Merge pull request #568 from aws/REL_kyyalama_wait_for_afi
Browse files Browse the repository at this point in the history
Update wait_for_afi.md
  • Loading branch information
kyyalama2 authored Jun 9, 2022
2 parents 13a13c4 + 363d570 commit 956e841
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion hdk/docs/wait_for_afi.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@ send an email with the results.
The return code of the script will be 0 if the AFI was successfully created.
The script should be in your path after sourcing `hdk_setup.sh`.

The script uses theh AWS Simple Notification Service (SNS) to send email
The script uses the AWS Simple Notification Service (SNS) to send email
notifications so you must have permissions to create an SNS topic, add a
subscription, and publish to the SNS topic.
By default the topic name used is CREATE_AFI but the topic name can be
changed using the `--sns-topic` option.

Note: Please note that the developer kit is currently based on Python2 and wait_for_afi script requires boto3 installation compatible with Python2. An older version of boto3 compatible with Python2 can be installed, for example, using
sudo pip install boto3==1.16

Example usage:

`wait_for_afi.py --afi `*`AFI-ID`*` --notify --email `*`email-address`*
Expand Down

0 comments on commit 956e841

Please sign in to comment.