@devramps/cli 0.1.14 → 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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. 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: [providerUrl],
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`]: providerUrl
1551
+ [`${providerUrl}:aud`]: "sts.amazonaws.com"
1552
1552
  }
1553
1553
  }
1554
1554
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devramps/cli",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "DevRamps CLI - Bootstrap AWS infrastructure for CI/CD pipelines",
5
5
  "main": "dist/index.js",
6
6
  "bin": {