Skip to content

Commit

Permalink
Insert explicitly empty originAccessIdentity to remove CFN role requi…
Browse files Browse the repository at this point in the history
…rement (#1053)
  • Loading branch information
biffgaut committed Jan 23, 2024
1 parent a54a318 commit 287dabe
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,9 @@
"Id"
]
},
"S3OriginConfig": {}
"S3OriginConfig": {
"OriginAccessIdentity": ""
}
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,9 @@
"Id"
]
},
"S3OriginConfig": {}
"S3OriginConfig": {
"OriginAccessIdentity": ""
}
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,9 @@
"Id"
]
},
"S3OriginConfig": {}
"S3OriginConfig": {
"OriginAccessIdentity": ""
}
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,9 @@
"Id"
]
},
"S3OriginConfig": {}
"S3OriginConfig": {
"OriginAccessIdentity": ""
}
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,9 @@
]
},
"OriginPath": "/testPath",
"S3OriginConfig": {}
"S3OriginConfig": {
"OriginAccessIdentity": ""
}
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,9 @@
"Id"
]
},
"S3OriginConfig": {}
"S3OriginConfig": {
"OriginAccessIdentity": ""
}
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,9 @@
"Id"
]
},
"S3OriginConfig": {}
"S3OriginConfig": {
"OriginAccessIdentity": ""
}
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,9 @@
"Id"
]
},
"S3OriginConfig": {}
"S3OriginConfig": {
"OriginAccessIdentity": ""
}
},
{
"DomainName": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,9 @@
"Id"
]
},
"S3OriginConfig": {}
"S3OriginConfig": {
"OriginAccessIdentity": ""
}
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,9 @@
"Id"
]
},
"S3OriginConfig": {}
"S3OriginConfig": {
"OriginAccessIdentity": ""
}
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ class S3OacBucketOrigin extends cloudfront.OriginBase {
}

protected renderS3OriginConfig(): cloudfront.CfnDistribution.S3OriginConfigProperty | undefined {
return { };
return { originAccessIdentity: '' };
}
}

0 comments on commit 287dabe

Please sign in to comment.