Getting the ARN or ID for A Resource Deployed With CloudFormation
ACM.361 Consistent naming conventions makes life easier again
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⚙️ Check out my series on Automating Cybersecurity Metrics | Code.
🔒 Related Stories: AWS Security | Secure Code | Cybersecurity | IAM
💻 Free Content on Jobs in Cybersecurity | ✉️ Sign up for the Email List
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In the last post, as part of my code revamp, I fixed an issue that has been bugging me for a while. I used the role name that deployed a resource instead of the profile name and I explained why.
As part of my revamp to create environments for deploying applications in a consistent way, I want to call out another change I’m making to all my templates as I re-deploy them.
In almost every template I pass in a parameter called NameParam.
In almost every template I have outputs that provide the ARN or ID (depending on the resource). At first I was appending Export or something like that to the end of the outputs.