Skip to content

Instantly share code, notes, and snippets.

@lielran
Created July 19, 2020 13:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lielran/3673dabdfbd95155b7189b8edd4670ad to your computer and use it in GitHub Desktop.
Save lielran/3673dabdfbd95155b7189b8edd4670ad to your computer and use it in GitHub Desktop.
get cfn stack PhysicalResourceId by resource type
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