-
-
Notifications
You must be signed in to change notification settings - Fork 150
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
Allow providing CodeBuild VPC config; fix CodePipeline outputs #74
Allow providing CodeBuild VPC config; fix CodePipeline outputs #74
Conversation
/test all |
/test all |
@@ -51,10 +55,15 @@ output "codebuild_badge_url" { | |||
|
|||
output "codepipeline_id" { | |||
description = "CodePipeline ID" | |||
value = join("", aws_codepipeline.default.*.id) | |||
value = lookup(local.codepipeline_resource, "id", "") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure this is equivalent? What happens with lookup
is called on null
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you're right - null is an invalid input to lookup(). Using a fallback value of {}
in the try at the top (instead of null) seems to work OK.
/test all |
what
why
references