[Bug]: Api Gateway Domain Name being recreated when truststore is changed #29970
Labels
bug
Addresses a defect in current functionality.
service/apigateway
Issues and PRs that pertain to the apigateway service.
Milestone
Terraform Core Version
1.4.0
AWS Provider Version
4.58.0
Affected Resource(s)
aws_api_gateway_domain_name
Expected Behavior
By changing the truststore path, it should update the resource and not recreate it, as it happens in the console.
Actual Behavior
When a change in the truststore path is detected, it forces a redeployment, where it deletes the current resource and creates a new one, and because it is a unique regional resource, it makes it impossible to use lifecycle definitions.
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
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: