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

fix(aws/ecs): ensure we don't pass a NULL object to the policy builder #365

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

swiknaba
Copy link
Contributor

Summary

The ECS execution role could fail if one of the passed args (secrets or KMS keys) are a NULL object. Terraform's flatten does not remove NULL entries, and they blow up the policy.

Motivation

@swiknaba swiknaba requested a review from a team as a code owner August 27, 2024 20:01
@swiknaba swiknaba self-assigned this Aug 27, 2024
@swiknaba swiknaba merged commit 0c6ebe0 into main Aug 27, 2024
72 of 75 checks passed
@swiknaba swiknaba deleted the lud-ecs-role-compact branch August 27, 2024 20:02
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.

1 participant