Closed zenzedoon closed 7 months ago
Voting for Prioritization
Volunteering to Work on This Issue
after some reserach i found that the user that runs the terraform code dosen't have the permission to create a VPC endpoint. i search for another alternative but i can't find how to link an existing endpoint to the new elasticache serverless.
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.
Terraform Core Version
1.4.6
AWS Provider Version
4.0
Affected Resource(s)
aws_elasticache_serverless_cache
Expected Behavior
Create an aws elasticache serverless ressource
Actual Behavior
Error: waiting for creation Amazon ElastiCache Serverless Cache (pabdpspd00009): unexpected state 'create-failed', wanted target 'available'. last error: %!s()
Relevant Error/Panic Output Snippet
Terraform Configuration Files
resource "aws_elasticache_serverless_cache" "redis_serverless" { engine = "redis" name = "elasticache01" cache_usage_limits { data_storage { maximum = 10 unit = "GB" } ecpu_per_second { maximum = 0 } } daily_snapshot_time = "09:00" description = "Elasticache Serverless for Redis" major_engine_version = "7" snapshot_retention_limit = 7 security_group_ids = var.elasticache_sg subnet_ids = var.subnet_id
) }
Steps to Reproduce
terraform plan terraform apply
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None