Skip to content

Instantly share code, notes, and snippets.

@sebsto
Created April 28, 2020 13:24
Show Gist options
  • Save sebsto/b517720cc0bba4dc6502cd0ccb0d49c7 to your computer and use it in GitHub Desktop.
Save sebsto/b517720cc0bba4dc6502cd0ccb0d49c7 to your computer and use it in GitHub Desktop.
Delete Amlify Console App after `amplify delete`
APP_ID=$(aws amplify list-apps --query 'apps[? ! contains(keys(@), `productionBranch`) == `true`].[appId]' --output text )
echo $APP_ID | while read appid
do
aws amplify delete-app --app-id $appid
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment