Skip to content

Instantly share code, notes, and snippets.

@KyMidd
Created May 1, 2023 01:17
Show Gist options
  • Select an option

  • Save KyMidd/84d3d6468777995f5e99807d90289740 to your computer and use it in GitHub Desktop.

Select an option

Save KyMidd/84d3d6468777995f5e99807d90289740 to your computer and use it in GitHub Desktop.
resource "aws_api_gateway_method" "github_cop_api_gateway_method" {
rest_api_id = aws_api_gateway_rest_api.github_cop_api_gateway.id
resource_id = aws_api_gateway_resource.github_cop_api_gateway_proxy.id
http_method = "ANY"
authorization = "NONE"
}
resource "aws_api_gateway_method" "github_cop_api_gateway_proxy_root" {
rest_api_id = aws_api_gateway_rest_api.github_cop_api_gateway.id
resource_id = aws_api_gateway_rest_api.github_cop_api_gateway.root_resource_id
http_method = "ANY"
authorization = "NONE"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment