Skip to content

Commit 1adf8ab

Browse files
committed
update blueprints version
+ use new `withEnv` function (instead of clone with account/region)
1 parent f25883e commit 1adf8ab

File tree

2 files changed

+8
-14
lines changed

2 files changed

+8
-14
lines changed

lib/pipeline-multi-env-gitops/index.ts

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -142,21 +142,17 @@ export default class PipelineMultiEnvGitops {
142142
{
143143
id: DEV_ENV_ID,
144144
stackBuilder: blueprint
145-
.clone(
146-
pipelineProps.devTestEnv.region,
147-
pipelineProps.devTestEnv.account
148-
)
145+
.clone()
146+
.withEnv(pipelineProps.devTestEnv)
149147
.name(DEV_ENV_ID)
150148
.teams(...devTeams)
151149
.addOns(...devAddons),
152150
},
153151
{
154152
id: TEST_ENV_ID,
155153
stackBuilder: blueprint
156-
.clone(
157-
pipelineProps.devTestEnv.region,
158-
pipelineProps.devTestEnv.account
159-
)
154+
.clone()
155+
.withEnv(pipelineProps.devTestEnv)
160156
.name(TEST_ENV_ID)
161157
.teams(...testTeams)
162158
.addOns(...testAddons),
@@ -176,10 +172,8 @@ export default class PipelineMultiEnvGitops {
176172
{
177173
id: PROD_ENV_ID,
178174
stackBuilder: blueprint
179-
.clone(
180-
pipelineProps.prodEnv.region,
181-
pipelineProps.prodEnv.account
182-
)
175+
.clone()
176+
.withEnv(pipelineProps.prodEnv)
183177
.name(PROD_ENV_ID)
184178
.teams(...prodTeams)
185179
.addOns(...prodAddons),

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"typescript": "^5.0.4"
2525
},
2626
"dependencies": {
27-
"@aws-quickstart/eks-blueprints": "1.10.0",
27+
"@aws-quickstart/eks-blueprints": "1.10.1",
2828
"@datadog/datadog-eks-blueprints-addon": "^0.1.2",
2929
"@dynatrace/dynatrace-eks-blueprints-addon": "^0.0.3",
3030
"@kastenhq/kasten-eks-blueprints-addon": "^1.0.1",
@@ -41,7 +41,7 @@
4141
"@instana/aws-eks-blueprint-addon": "^1.0.4"
4242
},
4343
"overrides": {
44-
"@aws-quickstart/eks-blueprints": "1.10.0",
44+
"@aws-quickstart/eks-blueprints": "1.10.1",
4545
"aws-cdk": "2.86.0",
4646
"xml2js": "0.5.0"
4747
}

0 commit comments

Comments
 (0)