-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aws_elasticache_subnet_group missing tags property #18884
Comments
In testing other aspects of the project design, I have run into a few other resources that throw an error when tags attributes are applied, even though the Terraform and AWS documentation indicate tags are a valid attribute. aws_codedeploy_app[Terraform Docs] (https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/codedeploy_app)
aws_codedeploy_deployment_group[Terraform Docs] (https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/codedeploy_deployment_group)
All other conditions apply as the OP (same project). Although these tags are shown as valid in the docs, you cannot enter them via the console. I was going to try adding tags to the resources in AWS and then importing them back into the TF state to see if the tags would come along. |
This has been released in version 3.38.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
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. |
This issue was originally opened by @NJITman as hashicorp/terraform#28380. It was migrated here as a result of the provider split. The original body of the issue is below.
The aws_elasticache_subnet_group resource is missing the tags argument. The tags can be entered using the AWS console or via the AWS CLI or API.
[Terraform Docs] (https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/elasticache_subnet_group)
[AWS CLI2 Docs] (https://awscli.amazonaws.com/v2/documentation/api/latest/reference/elasticache/create-cache-subnet-group.html)
[AWS API Docs] (https://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_CreateCacheSubnetGroup.html)
Example resource block with tags argument added using list format shown in AWS CLI2 doc.
Terraform Version
Terraform Configuration Files
Debug Output
Expected Behavior
Terraform should have created the subnet group resource with the associated tags.
Actual Behavior
Terraform failed with an error (see above).
Steps to Reproduce
terraform init
terraform plan
The text was updated successfully, but these errors were encountered: