Hello,
I am using Terraform very well.
However, a problem was identified while using it.
when i create auto scaling group resource, also create root device and ebs device.
Is there a way to tagging the block device like ec2 instance?
thanks
Hello,
I am using Terraform very well.
However, a problem was identified while using it.
when i create auto scaling group resource, also create root device and ebs device.
Is there a way to tagging the block device like ec2 instance?
thanks
You can create tags in the autoscaling group object that can be propogated down using propagate_at_launch
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/autoscaling_group
to the instance level, however I believe for the indiviudal objects within the ec2 you have to use:
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/resourcegroupstaggingapi_resources