Skip to content
New issue

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

CloudWatch log resource policy limit #40

Open
1 task done
nbhadauria opened this issue Feb 17, 2023 · 0 comments
Open
1 task done

CloudWatch log resource policy limit #40

nbhadauria opened this issue Feb 17, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@nbhadauria
Copy link

Contact Details (optional)

[email protected]

Description. What happened?

When trying to setup ECS service using this module it notice it is creating a "aws_cloudwatch_log_resource_policy" which has a hard limit "Up to 10 CloudWatch Logs resource policies per Region per account. This quota can't be changed."

https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/cloudwatch_limits_cwl.html

Steps to reproduce

Use the module and create more than 10 services.

I can provide more details if needed.

Expected behavior

No response

Actual behavior

Not sure

Occurrence

Frequently

Relevant log output

module.ecs_app["api"].aws_cloudwatch_log_resource_policy.ecs_events: Creating...
╷
│ Error: Writing CloudWatch log resource policy failed: LimitExceededException: Resource limit exceeded.
│
│   with module.ecs_app_php["api"].aws_cloudwatch_log_resource_policy.ecs_events,
│   on .terraform/modules/ecs_app/cloudwatch-ecs-event-logs.tf line 47, in resource "aws_cloudwatch_log_resource_policy" "ecs_events":
│   47: resource "aws_cloudwatch_log_resource_policy" "ecs_events" {
│
╵

Code of Conduct

  • I agree to follow this project's Code of Conduct
@nbhadauria nbhadauria added the bug Something isn't working label Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant