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.61k stars 9k forks source link

[Enhancement]: Support tags for aws_autoscaling_policy resource #37931

Open runlevel5 opened 3 weeks ago

runlevel5 commented 3 weeks ago

Description

The aws_autoscaling_policy lacks the option to set tags

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

Affecting v5.53.0

Potential Terraform Configuration

No response

References

No response

Would you like to implement a fix?

None

github-actions[bot] commented 3 weeks ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

vijayraghav-io commented 3 weeks ago

I am interested to work on this issue

runlevel5 commented 3 weeks ago

I am interested to work on this issue

Please go ahead

vijayraghav-io commented 2 weeks ago

currently AWS SDK does Not support tagging AutoScalingPolicy -

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-scalingpolicy.html#aws-resource-autoscaling-scalingpolicy-properties https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/autoscaling#PutScalingPolicyInput (there is not Tag property)

as a workaround the naming can be provided more descriptively

runlevel5 commented 2 weeks ago

:thinking: if that is the case, I guess we could wait until upstream AWS SDK officially support it.