Skip to content

Commit afdac0d

Browse files
committed
forgot about ecs-service-extensions
1 parent 2a6a0a9 commit afdac0d

File tree

32 files changed

+2715
-5010
lines changed

32 files changed

+2715
-5010
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"version": "17.0.0",
3+
"files": {
4+
"822f1eb0e14bdeebc9941ec50e004627e84a8c5240d15432a31a4b3f76e8d9cf": {
5+
"source": {
6+
"path": "aws-ecs-integ.template.json",
7+
"packaging": "file"
8+
},
9+
"destinations": {
10+
"current_account-current_region": {
11+
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
12+
"objectKey": "822f1eb0e14bdeebc9941ec50e004627e84a8c5240d15432a31a4b3f76e8d9cf.json",
13+
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
14+
}
15+
}
16+
}
17+
},
18+
"dockerImages": {}
19+
}

packages/@aws-cdk-containers/ecs-service-extensions/test/all-service-addons.integ.snapshot/aws-ecs-integ.template.json

Lines changed: 93 additions & 165 deletions
Original file line numberDiff line numberDiff line change
@@ -810,8 +810,8 @@
810810
{
811811
"Action": [
812812
"ecr:BatchCheckLayerAvailability",
813-
"ecr:GetDownloadUrlForLayer",
814-
"ecr:BatchGetImage"
813+
"ecr:BatchGetImage",
814+
"ecr:GetDownloadUrlForLayer"
815815
],
816816
"Effect": "Allow",
817817
"Resource": {
@@ -841,30 +841,12 @@
841841
]
842842
}
843843
},
844-
{
845-
"Action": "ecr:GetAuthorizationToken",
846-
"Effect": "Allow",
847-
"Resource": "*"
848-
},
849844
{
850845
"Action": [
851-
"logs:CreateLogStream",
852-
"logs:PutLogEvents"
853-
],
854-
"Effect": "Allow",
855-
"Resource": {
856-
"Fn::GetAtt": [
857-
"nametaskdefinitionenvoyLogGroup258B673B",
858-
"Arn"
859-
]
860-
}
861-
},
862-
{
863-
"Action": [
864-
"ecr:GetAuthorizationToken",
865846
"ecr:BatchCheckLayerAvailability",
866-
"ecr:GetDownloadUrlForLayer",
867-
"ecr:BatchGetImage"
847+
"ecr:BatchGetImage",
848+
"ecr:GetAuthorizationToken",
849+
"ecr:GetDownloadUrlForLayer"
868850
],
869851
"Effect": "Allow",
870852
"Resource": "*"
@@ -875,38 +857,32 @@
875857
"logs:PutLogEvents"
876858
],
877859
"Effect": "Allow",
878-
"Resource": {
879-
"Fn::GetAtt": [
880-
"nametaskdefinitionfirelensLogGroup80DDA60F",
881-
"Arn"
882-
]
883-
}
884-
},
885-
{
886-
"Action": [
887-
"logs:CreateLogStream",
888-
"logs:PutLogEvents"
889-
],
890-
"Effect": "Allow",
891-
"Resource": {
892-
"Fn::GetAtt": [
893-
"nametaskdefinitionxrayLogGroup4AF4CA37",
894-
"Arn"
895-
]
896-
}
897-
},
898-
{
899-
"Action": [
900-
"logs:CreateLogStream",
901-
"logs:PutLogEvents"
902-
],
903-
"Effect": "Allow",
904-
"Resource": {
905-
"Fn::GetAtt": [
906-
"nametaskdefinitioncloudwatchagentLogGroup78DDC685",
907-
"Arn"
908-
]
909-
}
860+
"Resource": [
861+
{
862+
"Fn::GetAtt": [
863+
"nametaskdefinitioncloudwatchagentLogGroup78DDC685",
864+
"Arn"
865+
]
866+
},
867+
{
868+
"Fn::GetAtt": [
869+
"nametaskdefinitionenvoyLogGroup258B673B",
870+
"Arn"
871+
]
872+
},
873+
{
874+
"Fn::GetAtt": [
875+
"nametaskdefinitionfirelensLogGroup80DDA60F",
876+
"Arn"
877+
]
878+
},
879+
{
880+
"Fn::GetAtt": [
881+
"nametaskdefinitionxrayLogGroup4AF4CA37",
882+
"Arn"
883+
]
884+
}
885+
]
910886
}
911887
],
912888
"Version": "2012-10-17"
@@ -1680,8 +1656,8 @@
16801656
{
16811657
"Action": [
16821658
"ecr:BatchCheckLayerAvailability",
1683-
"ecr:GetDownloadUrlForLayer",
1684-
"ecr:BatchGetImage"
1659+
"ecr:BatchGetImage",
1660+
"ecr:GetDownloadUrlForLayer"
16851661
],
16861662
"Effect": "Allow",
16871663
"Resource": {
@@ -1711,30 +1687,12 @@
17111687
]
17121688
}
17131689
},
1714-
{
1715-
"Action": "ecr:GetAuthorizationToken",
1716-
"Effect": "Allow",
1717-
"Resource": "*"
1718-
},
1719-
{
1720-
"Action": [
1721-
"logs:CreateLogStream",
1722-
"logs:PutLogEvents"
1723-
],
1724-
"Effect": "Allow",
1725-
"Resource": {
1726-
"Fn::GetAtt": [
1727-
"greetingtaskdefinitionenvoyLogGroup6556AC35",
1728-
"Arn"
1729-
]
1730-
}
1731-
},
17321690
{
17331691
"Action": [
1734-
"ecr:GetAuthorizationToken",
17351692
"ecr:BatchCheckLayerAvailability",
1736-
"ecr:GetDownloadUrlForLayer",
1737-
"ecr:BatchGetImage"
1693+
"ecr:BatchGetImage",
1694+
"ecr:GetAuthorizationToken",
1695+
"ecr:GetDownloadUrlForLayer"
17381696
],
17391697
"Effect": "Allow",
17401698
"Resource": "*"
@@ -1745,38 +1703,32 @@
17451703
"logs:PutLogEvents"
17461704
],
17471705
"Effect": "Allow",
1748-
"Resource": {
1749-
"Fn::GetAtt": [
1750-
"greetingtaskdefinitionfirelensLogGroupD7A398A7",
1751-
"Arn"
1752-
]
1753-
}
1754-
},
1755-
{
1756-
"Action": [
1757-
"logs:CreateLogStream",
1758-
"logs:PutLogEvents"
1759-
],
1760-
"Effect": "Allow",
1761-
"Resource": {
1762-
"Fn::GetAtt": [
1763-
"greetingtaskdefinitionxrayLogGroupD25C072D",
1764-
"Arn"
1765-
]
1766-
}
1767-
},
1768-
{
1769-
"Action": [
1770-
"logs:CreateLogStream",
1771-
"logs:PutLogEvents"
1772-
],
1773-
"Effect": "Allow",
1774-
"Resource": {
1775-
"Fn::GetAtt": [
1776-
"greetingtaskdefinitioncloudwatchagentLogGroupCEF72742",
1777-
"Arn"
1778-
]
1779-
}
1706+
"Resource": [
1707+
{
1708+
"Fn::GetAtt": [
1709+
"greetingtaskdefinitioncloudwatchagentLogGroupCEF72742",
1710+
"Arn"
1711+
]
1712+
},
1713+
{
1714+
"Fn::GetAtt": [
1715+
"greetingtaskdefinitionenvoyLogGroup6556AC35",
1716+
"Arn"
1717+
]
1718+
},
1719+
{
1720+
"Fn::GetAtt": [
1721+
"greetingtaskdefinitionfirelensLogGroupD7A398A7",
1722+
"Arn"
1723+
]
1724+
},
1725+
{
1726+
"Fn::GetAtt": [
1727+
"greetingtaskdefinitionxrayLogGroupD25C072D",
1728+
"Arn"
1729+
]
1730+
}
1731+
]
17801732
}
17811733
],
17821734
"Version": "2012-10-17"
@@ -2669,8 +2621,8 @@
26692621
{
26702622
"Action": [
26712623
"ecr:BatchCheckLayerAvailability",
2672-
"ecr:GetDownloadUrlForLayer",
2673-
"ecr:BatchGetImage"
2624+
"ecr:BatchGetImage",
2625+
"ecr:GetDownloadUrlForLayer"
26742626
],
26752627
"Effect": "Allow",
26762628
"Resource": {
@@ -2700,30 +2652,12 @@
27002652
]
27012653
}
27022654
},
2703-
{
2704-
"Action": "ecr:GetAuthorizationToken",
2705-
"Effect": "Allow",
2706-
"Resource": "*"
2707-
},
2708-
{
2709-
"Action": [
2710-
"logs:CreateLogStream",
2711-
"logs:PutLogEvents"
2712-
],
2713-
"Effect": "Allow",
2714-
"Resource": {
2715-
"Fn::GetAtt": [
2716-
"greetertaskdefinitionenvoyLogGroup6E10B93E",
2717-
"Arn"
2718-
]
2719-
}
2720-
},
27212655
{
27222656
"Action": [
2723-
"ecr:GetAuthorizationToken",
27242657
"ecr:BatchCheckLayerAvailability",
2725-
"ecr:GetDownloadUrlForLayer",
2726-
"ecr:BatchGetImage"
2658+
"ecr:BatchGetImage",
2659+
"ecr:GetAuthorizationToken",
2660+
"ecr:GetDownloadUrlForLayer"
27272661
],
27282662
"Effect": "Allow",
27292663
"Resource": "*"
@@ -2734,38 +2668,32 @@
27342668
"logs:PutLogEvents"
27352669
],
27362670
"Effect": "Allow",
2737-
"Resource": {
2738-
"Fn::GetAtt": [
2739-
"greetertaskdefinitionfirelensLogGroupD5BAAC35",
2740-
"Arn"
2741-
]
2742-
}
2743-
},
2744-
{
2745-
"Action": [
2746-
"logs:CreateLogStream",
2747-
"logs:PutLogEvents"
2748-
],
2749-
"Effect": "Allow",
2750-
"Resource": {
2751-
"Fn::GetAtt": [
2752-
"greetertaskdefinitionxrayLogGroupBC1558B6",
2753-
"Arn"
2754-
]
2755-
}
2756-
},
2757-
{
2758-
"Action": [
2759-
"logs:CreateLogStream",
2760-
"logs:PutLogEvents"
2761-
],
2762-
"Effect": "Allow",
2763-
"Resource": {
2764-
"Fn::GetAtt": [
2765-
"greetertaskdefinitioncloudwatchagentLogGroupE7EAF327",
2766-
"Arn"
2767-
]
2768-
}
2671+
"Resource": [
2672+
{
2673+
"Fn::GetAtt": [
2674+
"greetertaskdefinitioncloudwatchagentLogGroupE7EAF327",
2675+
"Arn"
2676+
]
2677+
},
2678+
{
2679+
"Fn::GetAtt": [
2680+
"greetertaskdefinitionenvoyLogGroup6E10B93E",
2681+
"Arn"
2682+
]
2683+
},
2684+
{
2685+
"Fn::GetAtt": [
2686+
"greetertaskdefinitionfirelensLogGroupD5BAAC35",
2687+
"Arn"
2688+
]
2689+
},
2690+
{
2691+
"Fn::GetAtt": [
2692+
"greetertaskdefinitionxrayLogGroupBC1558B6",
2693+
"Arn"
2694+
]
2695+
}
2696+
]
27692697
}
27702698
],
27712699
"Version": "2012-10-17"

packages/@aws-cdk-containers/ecs-service-extensions/test/all-service-addons.integ.snapshot/manifest.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"type": "cdk:tree",
66
"properties": {
77
"file": "tree.json"
8-
},
9-
"metadata": {}
8+
}
109
},
1110
"aws-ecs-integ": {
1211
"type": "aws:cloudformation:stack",
@@ -583,11 +582,11 @@
583582
"/aws-ecs-integ/greeter-service/SecurityGroup": [
584583
{
585584
"type": "aws:cdk:warning",
586-
"data": "Ignoring Egress rule since 'allowAllOutbound' is set to true; To add customize rules, set allowAllOutbound=false on the SecurityGroup"
585+
"data": "Ignoring Egress rule since 'allowAllOutbound' is set to true; To add customized rules, set allowAllOutbound=false on the SecurityGroup"
587586
},
588587
{
589588
"type": "aws:cdk:warning",
590-
"data": "Ignoring Egress rule since 'allowAllOutbound' is set to true; To add customize rules, set allowAllOutbound=false on the SecurityGroup"
589+
"data": "Ignoring Egress rule since 'allowAllOutbound' is set to true; To add customized rules, set allowAllOutbound=false on the SecurityGroup"
591590
}
592591
],
593592
"/aws-ecs-integ/greeter-service/SecurityGroup/Resource": [

0 commit comments

Comments
 (0)