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(templates): render service cfn templates when addons have no outputs #1075

Merged
merged 1 commit into from
Jun 30, 2020

Conversation

efekarakus
Copy link
Contributor

Previously, if an addon template did not output the ARN of a IAM ManagedPolicy, then the service template would not render with a ValidationError: [/Resources/TaskRole/Type/ManagedPolicyArns] 'null' values are not allowed in templates.

Fixes #1073

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Previously, if an addon template did not output the ARN of a
IAM ManagedPolicy then the service template would not render with a
`ValidationError: [/Resources/TaskRole/Type/ManagedPolicyArns] 'null'
values are not allowed in templates`.

Fixes aws#1073
Copy link
Contributor

@kohidave kohidave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

love love love the integration test. Thanks for raising the bar!

Copy link
Contributor

@iamhopaul123 iamhopaul123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@mergify mergify bot merged commit 22b1d50 into aws:master Jun 30, 2020
@efekarakus efekarakus deleted the fix-1073 branch January 6, 2021 17:52
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.

ValidationError: [/Resources/TaskRole/Type/ManagedPolicyArns] 'null' values are not allowed in templates
3 participants