hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.73k stars 9.09k forks source link

Create aws_sns_topic_tag #25522

Closed anatoli-klamer closed 1 month ago

anatoli-klamer commented 2 years ago

Community Note

Description

I manage sns topics and sns subscriptions in a different terraform states. But when a new subscription is created we would like to add a new tag to sns topic, for example, it will allow us to group metrics and create charts in datadog

New or Affected Resource(s)

Potential Terraform Configuration

resource "aws_sns_topic_tag" "subscriber" {
  resource_id = data.aws_sns_topic.main.id
  key         = "subscriber"
  value       = "subscriber_name"
}

References

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/guides/resource-tagging#managing-individual-resource-tags

github-actions[bot] commented 2 months ago

Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label.

If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!

github-actions[bot] commented 14 hours ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.