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 CodePipeline source account id lookup to support missing key #561

Merged
merged 1 commit into from
Dec 9, 2022

Conversation

sbkok
Copy link
Collaborator

@sbkok sbkok commented Dec 9, 2022

Why?

For source providers like codestar, it does not require an account id to be configured for the source account. When that is missing, the current code crashes while generating the CodePipeline stack.

What?

Changed the account_id lookup to support missing values.


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

**Why?**

For source providers like `codestar`, it does not require an account id to be
configured for the source account. When that is missing, the current code
crashes while generating the CodePipeline stack.

**What?**

Changed the account_id lookup to support missing values.
@sbkok sbkok added the bug Something isn't working label Dec 9, 2022
@sbkok sbkok added this to the v3.2.0 milestone Dec 9, 2022
@sbkok sbkok merged commit 3f9164a into awslabs:master Dec 9, 2022
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.

3 participants