v0.6.0
Fix error when create private API Gateway with resource policy @ByJacob (#25)
what
- add relations between
aws_api_gateway_deployment
andaws_api_gateway_rest_api_policy
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" {
│
╵