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

Fixes IAM Policy for Cloudwatch Log Group #10

Merged
merged 1 commit into from
Sep 7, 2020
Merged

Conversation

k-k
Copy link
Member

@k-k k-k commented Sep 7, 2020

With version >=3.0 of the AWS provider, the ARN of a Cloudwatch Log Group resource has had the trailing :* removed, which causes the generated iam policy for the execution role to be generated incorrectly. This fix handles both ARNs from before and after >=3.0.

Fixes #8

@k-k k-k merged commit b349293 into master Sep 7, 2020
@k-k k-k deleted the 8-cloudwatch-log-group-arn branch September 7, 2020 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not authorized to perform logs:CreateLogStream on resource
1 participant