Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable ec2 tag access via Instance Metadata Service through CloudFormation

I would like to have my CloudFormation Launch template enable the EC2 Tag Access. I am seeing it on the Launch Template options in the console.

enter image description here

Which means I technically could add it to my Launch Template, but I would rather keep all of my configuration changes in source control. So that isn't really an option. I know there is a way to turn it on via CLI, and Console

I started digging through documentation, but I couldn't find anything. Is there a place I can go to see the progress on CloudFormation capabilities and maybe even implement this myself in AWS's codebase?

like image 235
DeadlyChambers Avatar asked Jan 30 '26 08:01

DeadlyChambers


1 Answers

If something is not directly supported in CloudFormation, you can create your own custom resource. So as long as any AWS SDK supports your functionality, you can add it to your CloudFormation templates as well.

For general view of what is supported and not yet supported in CloudFormation, you can got to official AWS github page cloudformation-coverage-roadmap. You can also create an issue there to report missing or broken functionality.

like image 165
Marcin Avatar answered Jan 31 '26 22:01

Marcin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!