@devramps/cli 0.1.13 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1528,7 +1528,7 @@ function addOidcProviderResource(template, conditional = true, oidcProviderUrl)
|
|
|
1528
1528
|
...conditional ? { Condition: "CreateOIDCProvider" } : {},
|
|
1529
1529
|
Properties: {
|
|
1530
1530
|
Url: `https://${providerUrl}`,
|
|
1531
|
-
ClientIdList: [
|
|
1531
|
+
ClientIdList: ["sts.amazonaws.com"],
|
|
1532
1532
|
ThumbprintList: [getOidcThumbprint()],
|
|
1533
1533
|
Tags: STANDARD_TAGS
|
|
1534
1534
|
}
|
|
@@ -1548,7 +1548,7 @@ function buildOidcTrustPolicy(accountId, subject, oidcProviderUrl) {
|
|
|
1548
1548
|
Condition: {
|
|
1549
1549
|
StringEquals: {
|
|
1550
1550
|
[`${providerUrl}:sub`]: subject,
|
|
1551
|
-
[`${providerUrl}:aud`]:
|
|
1551
|
+
[`${providerUrl}:aud`]: "sts.amazonaws.com"
|
|
1552
1552
|
}
|
|
1553
1553
|
}
|
|
1554
1554
|
}
|
|
@@ -2595,12 +2595,12 @@ async function bootstrapCommand(options) {
|
|
|
2595
2595
|
spinner.succeed("Deployment plan ready");
|
|
2596
2596
|
if (options.dryRun) {
|
|
2597
2597
|
await showDryRunPlan(plan);
|
|
2598
|
-
|
|
2598
|
+
process.exit(0);
|
|
2599
2599
|
}
|
|
2600
2600
|
const confirmed = await confirmDeploymentPlan(plan);
|
|
2601
2601
|
if (!confirmed) {
|
|
2602
2602
|
info("Deployment cancelled by user.");
|
|
2603
|
-
|
|
2603
|
+
process.exit(0);
|
|
2604
2604
|
}
|
|
2605
2605
|
const oidcProviderUrl = getOidcProviderUrlFromEndpoint(options.endpointOverride);
|
|
2606
2606
|
await executeDeployment(plan, pipelines, pipelineArtifacts, authData, identity.accountId, options, oidcProviderUrl);
|