Or at least is there an easy way to print all the ...
# aws
c
Or at least is there an easy way to print all the AWS resources ARNs?
b
jq
would be your friend, but not all resources have the same outputs, i.e., not everything has an
arn
or
id
.
Something like this will help, I think:
Copy code
pulumi stack export | jq -r '.deployment.resources[] | {"urn": .urn, "arn": .arn, "id": .id}'
c
Thank you @bright-policeman-55860 your solution is a good tip. I also managed to use auto-tagging (https://www.pulumi.com/blog/automatically-enforcing-aws-resource-tagging-policies/) and created a “Resource Group” in the AWS Console. It’s usefull to have a general overview of the AWS resources created by Pulumi.
w
> From the CloudFormation console it’s easy to find an AWS resource create by the stack, everything is linked under the resources tab. Just a note that the Pulumi Console (https://app.pulumi.com/) offers a similar feature. See the links on the right hand side which deep link into the AWS console (and Azure and GCP and Kubernetes API server).