Skip to content

Commit edef50f

Browse files
authored
chore: update CFN template (#533)
1 parent 169d01f commit edef50f

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

cfn/CI.yaml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ Parameters:
2222
Type: String
2323
Description: A prefix that will be applied to any names
2424
Default: DDBEC-Dafny
25+
# This parameter is no longer used.
26+
# However removing it causes CloudFormation indigestion
2527
GitHubRepo:
2628
Type: String
2729
Description: GitHub Repo that invokes CI
@@ -315,7 +317,10 @@ Resources:
315317
"token.actions.githubusercontent.com:aud": "sts.amazonaws.com"
316318
},
317319
"StringLike": {
318-
"token.actions.githubusercontent.com:sub": "repo:${GitHubRepo}:*"
320+
"token.actions.githubusercontent.com:sub": [
321+
"repo:aws/aws-database-encryption-sdk-dynamodb-java:*",
322+
"repo:aws/private-aws-database-encryption-sdk-dynamodb-java-staging:*"
323+
]
319324
}
320325
}
321326
},
@@ -366,7 +371,10 @@ Resources:
366371
"token.actions.githubusercontent.com:aud": "sts.amazonaws.com"
367372
},
368373
"StringLike": {
369-
"token.actions.githubusercontent.com:sub": "repo:${GitHubRepo}:*"
374+
"token.actions.githubusercontent.com:sub": [
375+
"repo:aws/aws-database-encryption-sdk-dynamodb-java:*",
376+
"repo:aws/private-aws-database-encryption-sdk-dynamodb-java-staging:*"
377+
]
370378
}
371379
}
372380
},
@@ -417,7 +425,10 @@ Resources:
417425
"token.actions.githubusercontent.com:aud": "sts.amazonaws.com"
418426
},
419427
"StringLike": {
420-
"token.actions.githubusercontent.com:sub": "repo:${GitHubRepo}:*"
428+
"token.actions.githubusercontent.com:sub": [
429+
"repo:aws/aws-database-encryption-sdk-dynamodb-java:*",
430+
"repo:aws/private-aws-database-encryption-sdk-dynamodb-java-staging:*"
431+
]
421432
}
422433
}
423434
},

0 commit comments

Comments
 (0)