Closed adamskicool closed 3 years ago
@adamskicool This is the intended behavior. The pipeline deploys all assets, but excludes the stack template itself, which is the artifact that you noticed is missing.
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
When using the construct
CdkPipeline
to deploy a stack that creates a global dynamo table usingreplicationRegions
, not all assets seem to be included in the assets stage of the pipeline. When synthesizing the pipeline, four assets seem to be connected to the stack (see below, copy pasted fromcdk-out/assembly-{the-stack-name}
). When I look at the pipelines assets (after having deployed the CdkPipeline) and go into their details I can see that there are only three of four assets included in the assets step, that is the last asset that looks like it contains a template is excluded (c58ee6d7fc2dd16161745b02f0d7220f4da730b163cdb57e3818cf4333515500
)Reproduction Steps
Create a CdkPipeline with one stage containing one stack that creates a global DynamoDB table
Stage:
The stack the stage creates:
What did you expect to happen?
I expected the CodePipeline asset step to include all assets that the stack it is deploying contains.
What actually happened?
Includes all but one asset.
Environment
Other
assets in cdk.out directory for the stack with the global dynamo table in it:
What the CodePipeline looks like in aws console:
This is :bug: Bug Report