Open garysassano opened 1 year ago
Voting for Prioritization
Volunteering to Work on This Issue
To clarify, I think it's fine that aws_apigatewayv2_api.body
overrides aws_apigatewayv2_api.name
, but ONLY IF you specified a value for info.title
inside your OAS30 definition, otherwise aws_apigatewayv2_api.name
should remain unchanged.
Terraform Core Version
1.5.2
AWS Provider Version
4.65.0
Affected Resource(s)
I have the same issue described HERE but for HTTP API.
Expected Behavior
Creating an
aws_apigatewayv2_api
resource withbody
argument updates only the body of the APIGatewayV2, without overriding thename
.Actual Behavior
The
name
argument of theaws_apigatewayv2_api
resource gets overridden by theinfo.title
field specified within the OAS30 definition if present, otherwise it defaults toImported on {date/time}
.Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
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