Skip to content

Add --role-arn option for deploy sub command. #81

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

Merged
merged 3 commits into from
Mar 31, 2022

Conversation

tam0ri
Copy link
Contributor

@tam0ri tam0ri commented Mar 15, 2022

Issue #, if available: #71

Description of changes: Add --role-arn option for deploy sub command to set service role.

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

Copy link
Member

@stilvoid stilvoid left a comment

Choose a reason for hiding this comment

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

Just one minor point but otherwise lgtm 👍 Thank you!

@@ -192,6 +192,10 @@ func CreateChangeSet(template cft.Template, params []types.Parameter, tags map[s
},
}

if roleArn != "" {
input.RoleARN = &roleArn
Copy link
Member

Choose a reason for hiding this comment

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

Should use ptr.String here to wrap the string

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you for the feedback! I modified it.

@tam0ri tam0ri requested a review from stilvoid March 31, 2022 02:38
Copy link
Member

@stilvoid stilvoid left a comment

Choose a reason for hiding this comment

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

lgtm 👍

@stilvoid stilvoid merged commit 343b409 into aws-cloudformation:main Mar 31, 2022
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.

2 participants