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

feat(cloudformation): Add env var for default CFN role ARN #537

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

LaikaN57
Copy link
Member

Description

Mainly

  • Added a new env var KINGPIN_CFN_DEFAULT_ROLE

Supplimetry

  • Docfixes and removal of per-file lincense text in favor of repo license text

Motivation

We wanted give our build roles tight privledges on only interact directly with the AWS API for things that kingpin can manage directly (ie. s3, iam, cfn). However, we want to pass another role to the CFN service to use to create all kinds of resources that kingpin does not natively manage.

Comment on lines +554 to +555
elif KINGPIN_CFN_DEFAULT_ROLE_ARN:
cfg["RoleARN"] = KINGPIN_CFN_DEFAULT_ROLE_ARN
Copy link
Member Author

Choose a reason for hiding this comment

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

This is the only "real" change in this PR. There is one other place we do this setting and there is an entry in the aws settings file to support this as an env var.

@LaikaN57 LaikaN57 merged commit e7d1745 into main Jan 13, 2025
1 check passed
@LaikaN57 LaikaN57 deleted the adk-cfn-default-role branch January 13, 2025 21:47
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