Open tomelliff opened 2 years ago
Would highly appreciate this too. Currently the way it works is really stupid. Also setting the name tag on the activation doesn't change the name of the node in fleet manager, while setting the tag directly does. That which is currently not supported through Terraform.
Community Note
Description
Similarly to https://github.com/hashicorp/terraform-provider-aws/pull/8457 it is sometimes useful to manage the tags on resources that are not fully managed by Terraform.
In this particular case it's useful for managing the tags on hybrid (or on-premise) SSM managed instances that can currently only be tagged by Terraform from the initial tags on the SSM activation using the
aws_ssm_activation
resource. If you want to change the tags of the instance after this an update to the tags on the activation will recreate the activation but it would then require an out of band action to reregister the managed instance with the new activation ID and code. Instead it would be preferable to setignore_changes
on the tags and then have a separateaws_ssm_tag
resource linked to the instance to tag them.New or Affected Resource(s)
Potential Terraform Configuration
References
8457