-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
cdk-pipelines: deploy outputs not usable if only referenced from stack step #17272
Comments
I wanted to send in a pull request, but the current source code fails on
I assume it is related to the dst changes recently, but nothing to do with this issue. |
Feel free to send in the PR nevertheless! (And don't forget to add a test) Thanks! |
I did send a PR, is there anything else I need to follow up on? |
@rix0rrr any other action needed from my side? |
fixes #17272 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
What is the problem?
When using deploy outputs in a shell script that is a stackStep, then the deploy action does not declare a namespace, as such the pipeline deployment fails with the following error:
Reproduction Steps
What did you expect to happen?
no errors on deployment
What actually happened?
deployment fails, since the deploy step does not define a variable namespace for the pipeline
CDK CLI Version
1.130.0
Framework Version
No response
Node.js Version
v12.20.0
OS
Mac 10.15.7
Language
Typescript
Language Version
TS: 4.4.4
Other information
bug is in
aws-cdk/packages/@aws-cdk/pipelines/lib/helpers-internal/pipeline-queries.ts
Line 20 in 73eb185
it ignores the stackSteps
The text was updated successfully, but these errors were encountered: