[Bug]: aws_apigatewayv2_api domain name: Provider produced inconsistent final plan #29805
Labels
bug
Addresses a defect in current functionality.
service/apigatewayv2
Issues and PRs that pertain to the apigatewayv2 service.
Terraform Core Version
v1.3.4
AWS Provider Version
v4.56.0
Affected Resource(s)
aws_apigatewayv2_domain_name
Expected Behavior
Domain name should be created
Actual Behavior
Domain name is not created
Relevant Error/Panic Output Snippet
Terraform Configuration Files
local_file
is OpenAPI 3.0 definition take from here https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-open-api.htmlSteps to Reproduce
export TF_VAR_name="[REDACTED URL]"
export TF_VAR_certificate_arn="[valid arn]"
rm -rf .terraform
rm .terraform.lock.hcl
terraform init -input=false
terraform plan --out tfplan
terraform apply tfplan
Debug Output
tf_plan.log: https://gist.github.com/krzysztofdrys/93d57e83ac25f874eaaf8a8ae79df7a1
tf_apply.log: https://gist.github.com/krzysztofdrys/ed543eae5d25bc5b874d59faf1dd8e89
Panic Output
No response
Important Factoids
If you change provider version
4.46.0
,terraform apply
succeeds without any problems.References
No response
Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered: