Skip to content

Commit

Permalink
Update wait_for_afi.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kyyalama2 committed Jun 9, 2022
1 parent 13a13c4 commit 363d570
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 363d570

Please sign in to comment.