Api gateway authorizer authorizer_result_ttl_in_seconds
is not set to 0 on first run
#12633
Labels
bug
Addresses a defect in current functionality.
service/apigateway
Issues and PRs that pertain to the apigateway service.
Milestone
Community Note
Terraform Version
Affected Resource(s)
aws_api_gateway_authorizer.api_authorizer
Terraform Configuration Files
There is a repo here with the full source:
https://github.com/kevinkuszyk/terraform-aws-apigateway-authorizer-cache
Expected Behavior
I was expecting the authorizer to be created with the
authorizer_result_ttl_in_seconds
set to zero.Actual Behavior
It doesn't seem to be set. It shows like this in the aws console:
And a
terraform plan
after applying the config gives this (300
is the default value):Running
terraform apply
again will make the change, so it appears to be an issue with creating new resources.Steps to Reproduce
terraform apply
terraform plan
References
Other notes
I would attempt a fix, but I can't see anything wrong in the code. If someone can provide some guidance I will do what I can.
The text was updated successfully, but these errors were encountered: