We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The module creates a log-group role with principal service "ec2.amazonaws.com". The api-gateway is then unable to be created.
The principal service should be "apigateway.amazonaws.com"
The log group role should be created with principal service "apigateway.amazonaws.com"
create an api-gateway in AWS using the module
No response
In a SweetOps exchange with Andriy Knysh, he suggested the following:
this is an omission here: https://github.com/cloudposse/terraform-aws-api-gateway/blob/main/main.tf#L28. The variable principals needs to be added since the https://github.com/cloudposse/terraform-aws-cloudwatch-logs/blob/main/variables.tf module supports it. Then you could override principals in your code when instantiating the https://github.com/cloudposse/terraform-aws-api-gateway module
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the Bug
The module creates a log-group role with principal service "ec2.amazonaws.com". The api-gateway is then unable to be created.
The principal service should be "apigateway.amazonaws.com"
Expected Behavior
The log group role should be created with principal service "apigateway.amazonaws.com"
Steps to Reproduce
create an api-gateway in AWS using the module
Screenshots
No response
Environment
No response
Additional Context
In a SweetOps exchange with Andriy Knysh, he suggested the following:
this is an omission here: https://github.com/cloudposse/terraform-aws-api-gateway/blob/main/main.tf#L28. The variable principals needs to be added since the https://github.com/cloudposse/terraform-aws-cloudwatch-logs/blob/main/variables.tf module supports it. Then you could override principals in your code when instantiating the https://github.com/cloudposse/terraform-aws-api-gateway module
The text was updated successfully, but these errors were encountered: