You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 29, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: .circleci/publish-amis.sh
+9-8Lines changed: 9 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,15 @@ if [[ -z "$PACKER_BUILD_NAME" ]]; then
28
28
exit 1
29
29
fi
30
30
31
+
if [[ -z"$AMI_PUBLISHING_ACCESS_KEY_ID"||-z"$AMI_PUBLISHING_SECRET_ACCESS_KEY" ]];then
32
+
echo"ERROR: This script expects AWS access keys for publishing public AMIs to be set as the environment variables AMI_PUBLISHING_ACCESS_KEY_ID and AMI_PUBLISHING_SECRET_ACCESS_KEY."
33
+
exit 1
34
+
fi
35
+
36
+
# Publish AMIs to a different AWS account (not our test account) to ensure they don't get deleted by cloud-nuke
0 commit comments