Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
Pass empty components to appease ARN builder
Browse files Browse the repository at this point in the history
  • Loading branch information
adamnovak committed Mar 30, 2022
1 parent 30bacc3 commit 1ebaf8f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/cdk/lib/roles/toil-job-role.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ export class ToilJobRole extends Role {
// becomes able to just use the one AGC-provided bucket.
const jobStoreS3ArnPattern = Arn.format(
{
// Note that regions and account IDs aren't allowed in S3 ARNs
// Note that regions and account IDs aren't allowed in S3 ARNs.
// But the formatter requires them to be passed, and wants an empty
// string if we don't actually want them filled in.
account: "",
region: "",
partition: Aws.PARTITION,
resource: "toil-*",
service: "s3",
Expand Down

0 comments on commit 1ebaf8f

Please sign in to comment.