[Bug]: aws_appmesh_virtual_node limits 50 backends even if quota is raised #34658
Labels
bug
Addresses a defect in current functionality.
service/appmesh
Issues and PRs that pertain to the appmesh service.
Milestone
Terraform Core Version
1.6.0
AWS Provider Version
5.26.0
Affected Resource(s)
aws_appmesh_virtual_node
Expected Behavior
We were able to get AWS to raise the quota on backends via a support case. I confirmed that via the gui and api I can add new backends above 50, but via Terraform I cannot. it seems that even though our quota is 100, the Terraform resource is limiting us to 50. I think this is the relevant code? Could be wrong.
terraform-provider-aws/internal/service/appmesh/virtual_node.go
Line 269 in 586606d
There isn't a good reason I can see to be doing this. Terraform still runs a full plan before throwing an error and if this restriction wasn't here the AWS Api still throws an error based on the quota
Actual Behavior
When planning we receive this error and are unable to add additional backends
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
im not sure if someone else could reproduce this as you need to go through aws support to get the quota raised.
but you could run the code above and see by reducing the range to 50 it works and 51 it does not.
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: