You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Unsupported argument
on modules\redis\main.tf line 13, in resource "aws_elasticache_subnet_group" "subnet_group":
13: tags = [
An argument named "tags" is not expected here.
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:
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.
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: