Skip to content

Commit c9bc3de

Browse files
author
Abdelhalim Dadouche
committed
updated snapshot
1 parent 5caa723 commit c9bc3de

File tree

2 files changed

+15
-45
lines changed

2 files changed

+15
-45
lines changed

test/__snapshots__/codepipeline-embedded-linux-base-image.test.ts.snap

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -321,15 +321,9 @@ exports[`EmbeddedLinuxCodePipelineBaseImageStack Snapshot 1`] = `
321321
"Effect": "Allow",
322322
"Principal": {
323323
"AWS": {
324-
"Fn::Join": [
325-
"",
326-
[
327-
"arn:",
328-
{
329-
"Ref": "AWS::Partition",
330-
},
331-
":iam::111111111111:root",
332-
],
324+
"Fn::GetAtt": [
325+
"CodePipelineBuildBaseImageCodePipelineRole73E36B25",
326+
"Arn",
333327
],
334328
},
335329
},
@@ -545,15 +539,9 @@ exports[`EmbeddedLinuxCodePipelineBaseImageStack Snapshot 1`] = `
545539
"Effect": "Allow",
546540
"Principal": {
547541
"AWS": {
548-
"Fn::Join": [
549-
"",
550-
[
551-
"arn:",
552-
{
553-
"Ref": "AWS::Partition",
554-
},
555-
":iam::111111111111:root",
556-
],
542+
"Fn::GetAtt": [
543+
"CodePipelineBuildBaseImageCodePipelineRole73E36B25",
544+
"Arn",
557545
],
558546
},
559547
},

test/__snapshots__/codepipeline-embedded-linux.test.ts.snap

Lines changed: 9 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -425,15 +425,9 @@ exports[`EmbeddedLinuxCodePipelineStack Snapshot 1`] = `
425425
"Effect": "Allow",
426426
"Principal": {
427427
"AWS": {
428-
"Fn::Join": [
429-
"",
430-
[
431-
"arn:",
432-
{
433-
"Ref": "AWS::Partition",
434-
},
435-
":iam::111111111111:root",
436-
],
428+
"Fn::GetAtt": [
429+
"EmbeddedLinuxCodePipelineRole784D6893",
430+
"Arn",
437431
],
438432
},
439433
},
@@ -845,15 +839,9 @@ exports[`EmbeddedLinuxCodePipelineStack Snapshot 1`] = `
845839
"Effect": "Allow",
846840
"Principal": {
847841
"AWS": {
848-
"Fn::Join": [
849-
"",
850-
[
851-
"arn:",
852-
{
853-
"Ref": "AWS::Partition",
854-
},
855-
":iam::111111111111:root",
856-
],
842+
"Fn::GetAtt": [
843+
"EmbeddedLinuxCodePipelineRole784D6893",
844+
"Arn",
857845
],
858846
},
859847
},
@@ -1630,15 +1618,9 @@ exports[`EmbeddedLinuxCodePipelineStack Snapshot 1`] = `
16301618
"Effect": "Allow",
16311619
"Principal": {
16321620
"AWS": {
1633-
"Fn::Join": [
1634-
"",
1635-
[
1636-
"arn:",
1637-
{
1638-
"Ref": "AWS::Partition",
1639-
},
1640-
":iam::111111111111:root",
1641-
],
1621+
"Fn::GetAtt": [
1622+
"EmbeddedLinuxCodePipelineRole784D6893",
1623+
"Arn",
16421624
],
16431625
},
16441626
},

0 commit comments

Comments
 (0)