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

add :* to cloudwatch log arn in IAM (terraform no longer adds) #1

Merged
merged 1 commit into from
Oct 16, 2020

Conversation

cecolby11
Copy link
Contributor

Purpose of Change

Per the Terraform AWS Provider Changelog

v3.0.0 (July 31,2020) Automatically trim :* suffix from arn attribute

Therefore if IAM policies got recreated after that point, lambdas would stop being able to write to the logs until we explicitly added the ":*" in their cloudwatch logs policy.

What Changed

  • explicitly added the ":*" in the cloudwatch logs policy of this shared module

Change Tested

  • successfully tested with ecats API which uses this module; this change resolved the absence of logs from the lambda function.

@cecolby11 cecolby11 added the bug Something isn't working label Oct 16, 2020
@cecolby11 cecolby11 merged commit 086151d into stable Oct 16, 2020
@cecolby11 cecolby11 deleted the cw-permissions branch May 29, 2024 15:48
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

Successfully merging this pull request may close these issues.

2 participants