Skip to content

Commit

Permalink
Merge branch 'master' into hide-modified-column
Browse files Browse the repository at this point in the history
  • Loading branch information
fiskus authored Jul 5, 2023
2 parents 388911a + 398e3fc commit a07fa43
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/Troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,26 @@ aws s3api list-object-versions --bucket "$BUCKET" --prefix "$PREFIX"
aws s3api get-object-tagging --bucket "$BUCKET" --key "$PREFIX"
```
### Specific logical resources
Sometimes you may wish to find an ID or other information from a logical resource
in a Quilt stack. The following example is for security groups. Modify the commands as needed
for other resource types.
<!--pytest.mark.skip-->
```sh
STACK_NAME="YOUR_QUILT_STACK"
RESOURCE_ID="YOUR_LOGICAL_ID"
SG_ID=$(
aws cloudformation describe-stack-resource \
--stack-name "${YOUR_QUILT_STACK}" \
--logical-resource-id "${YOUR_LOGICAL_ID}" \
--query 'StackResourceDetail.PhysicalResourceId' \
--output text
)
aws ec2 describe-security-groups --group-ids "${SG_ID}"
```
### Event source mapping
The event source mapping is a Lambda resource that reads from SQS.
Expand Down

0 comments on commit a07fa43

Please sign in to comment.