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.71k stars 9.07k forks source link

[Enhancement]: aws_cloudwatch_logs_tag resource #35445

Open visit1985 opened 7 months ago

visit1985 commented 7 months ago

Description

Please provide a resource for tagging of existing cloudwatch resources.

Affected Resource(s) and/or Data Source(s)

Potential Terraform Configuration

data "aws_cloudwatch_log_group" "example" {
  name = "example"
}

resource "aws_cloudwatch_logs_tag" "example" {
  resource_arn = data.aws_cloudwatch_log_group.example.arn
  key = "someKey"
  value = "someValue"
}

References

28359

https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_TagResource.html https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazoncloudwatchlogs.html#amazoncloudwatchlogs-resources-for-iam-policies

Would you like to implement a fix?

No

github-actions[bot] commented 7 months ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue