-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously we were generating a physical name for the staging resources (S3 Bucket / ECR Repository) because it was mistakenly assumed that we needed those to be known values for CDK to work. Turns out that we can use `asString` on the Output values and CDK handles it correctly. So this PR does a couple of things: 1. Removes the hard coded resource names and allows Pulumi to generate an autoname. 2. Removes the dependency each stack had on the staging stack. Because we are using Output values to reference the assets, each resource can depend on the individual asset directly. This allows for more resources to be provisioned in parallel. On the `eventbridge-sns` test this had a 20% decrease in deployment time.
- Loading branch information
Showing
6 changed files
with
89 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.