Created
July 19, 2020 13:20
-
-
Save lielran/3673dabdfbd95155b7189b8edd4670ad to your computer and use it in GitHub Desktop.
get cfn stack PhysicalResourceId by resource type
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws cloudformation describe-stack-resources --stack-name $STACK_NAME | jq '.StackResources[]|select(.ResourceType=="AWS::DynamoDB::Table").PhysicalResourceId' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment