@devramps/cli 0.1.17 → 0.1.19

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 +3 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2031,14 +2031,10 @@ function buildOrgRolePolicies(orgSlug) {
2031
2031
  "kms:Encrypt",
2032
2032
  "kms:Decrypt",
2033
2033
  "kms:GenerateDataKey*",
2034
- "kms:DescribeKey"
2034
+ "kms:DescribeKey",
2035
+ "kms:CreateGrant"
2035
2036
  ],
2036
- Resource: "*",
2037
- Condition: {
2038
- StringEquals: {
2039
- "kms:CallerAccount": { Ref: "AWS::AccountId" }
2040
- }
2041
- }
2037
+ Resource: { "Fn::GetAtt": ["DevRampsKMSKey", "Arn"] }
2042
2038
  },
2043
2039
  {
2044
2040
  Sid: "AllowS3TerraformState",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devramps/cli",
3
- "version": "0.1.17",
3
+ "version": "0.1.19",
4
4
  "description": "DevRamps CLI - Bootstrap AWS infrastructure for CI/CD pipelines",
5
5
  "main": "dist/index.js",
6
6
  "bin": {