snippetterraformMinor
How to add ECS attributes to an instance using terraform
Viewed 0 times
ecsattributesinstanceusinghowaddterraform
Problem
I heavily use ECS Attributes on our containerized infrastructure. I couldn't find terraform docs to achieve this. Do I need to execute aws cli commands manually to apply those attributes after creating the infrastructure?
Solution
Terraform docs are pretty comprehensive, so if it’s not in the docs it’s probably not implemented yet.
However, they’re very responsive to feature requests posted as GitHub issues, particularly those that indicate that the feature is available via the AWS CLI (or more specifically, the AWS Go SDK). In my experience, feature requests I’ve raised have usually been available in a new AWS provider release within a month or so.
I’d suggest doing up a new issue here:
https://github.com/terraform-providers/terraform-provider-aws/issues
(I did do a quick search to see if ECS attributes have been raised before and couldn’t see any at a quick glance, but you may like to as well!)
However, they’re very responsive to feature requests posted as GitHub issues, particularly those that indicate that the feature is available via the AWS CLI (or more specifically, the AWS Go SDK). In my experience, feature requests I’ve raised have usually been available in a new AWS provider release within a month or so.
I’d suggest doing up a new issue here:
https://github.com/terraform-providers/terraform-provider-aws/issues
(I did do a quick search to see if ECS attributes have been raised before and couldn’t see any at a quick glance, but you may like to as well!)
Context
StackExchange DevOps Q#2939, answer score: 2
Revisions (0)
No revisions yet.