cloudposse / terraform-aws-api-gateway

https://cloudposse.com/accelerate
Apache License 2.0
25 stars 27 forks source link

Fix error when create private API Gateway with resource policy #25

Closed ByJacob closed 1 year ago

ByJacob commented 1 year ago

what

why

╷
│ Error: creating API Gateway Deployment: BadRequestException: Private REST API doesn't have a resource policy attached to it
│ 
│   with module.api_gwt.aws_api_gateway_deployment.this[0],
│   on ../../modules/api-gwt/main.tf line 39, in resource "aws_api_gateway_deployment" "this":
│   39: resource "aws_api_gateway_deployment" "this" {
│ 
╵

references

jamengual commented 1 year ago

/terratest

jamengual commented 1 year ago

please run make precommit/terraform and commit the changes.

Thanks.

jamengual commented 1 year ago

/terratest

max-lobur commented 1 year ago

Still needs make precommit/terraform

max-lobur commented 1 year ago

Checking why that readme change did not show up on a scheduled readme build. It's not coming from a PR, it's a template change from few months ago.

max-lobur commented 1 year ago

/terratest

max-lobur commented 1 year ago

Should be good now, this just needed a rebase.