Skip to content

Commit 5de154e

Browse files
Optimize config file (#435)
* Optimize config file - remove unused vgw - remove fips interface endpoints - add kms interface endpoint to lite config file * Updating Snapshots Co-authored-by: Naveen Kumar <nkoppula@amazon.com>
1 parent 0a79520 commit 5de154e

File tree

4 files changed

+3
-29
lines changed

4 files changed

+3
-29
lines changed

reference-artifacts/config.ALZ.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,6 @@
641641
"cloudtrail",
642642
"codebuild",
643643
"codecommit",
644-
"codecommit-fips",
645644
"codepipeline",
646645
"config",
647646
"datasync",
@@ -650,13 +649,11 @@
650649
"ecs-agent",
651650
"ecs-telemetry",
652651
"elasticfilesystem",
653-
"elasticfilesystem-fips",
654652
"elasticloadbalancing",
655653
"elasticmapreduce",
656654
"events",
657655
"execute-api",
658656
"git-codecommit",
659-
"git-codecommit-fips",
660657
"glue",
661658
"kinesis-streams",
662659
"kms",
@@ -1128,9 +1125,7 @@
11281125
"flow-logs": "BOTH",
11291126
"dns-resolver-logging": true,
11301127
"igw": true,
1131-
"vgw": {
1132-
"asn": 65522
1133-
},
1128+
"vgw": false,
11341129
"pcx": false,
11351130
"natgw": false,
11361131
"subnets": [

reference-artifacts/config.example.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,6 @@
636636
"cloudtrail",
637637
"codebuild",
638638
"codecommit",
639-
"codecommit-fips",
640639
"codepipeline",
641640
"config",
642641
"datasync",
@@ -645,13 +644,11 @@
645644
"ecs-agent",
646645
"ecs-telemetry",
647646
"elasticfilesystem",
648-
"elasticfilesystem-fips",
649647
"elasticloadbalancing",
650648
"elasticmapreduce",
651649
"events",
652650
"execute-api",
653651
"git-codecommit",
654-
"git-codecommit-fips",
655652
"glue",
656653
"kinesis-streams",
657654
"kms",
@@ -1123,9 +1120,7 @@
11231120
"flow-logs": "BOTH",
11241121
"dns-resolver-logging": true,
11251122
"igw": true,
1126-
"vgw": {
1127-
"asn": 65522
1128-
},
1123+
"vgw": false,
11291124
"pcx": false,
11301125
"natgw": false,
11311126
"subnets": [

reference-artifacts/config.lite-example.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@
619619
},
620620
"interface-endpoints": {
621621
"subnet": "Endpoint",
622-
"endpoints": ["ec2", "ec2messages", "ssm", "ssmmessages", "secretsmanager", "cloudformation"]
622+
"endpoints": ["ec2", "ec2messages", "ssm", "ssmmessages", "secretsmanager", "cloudformation", "kms"]
623623
},
624624
"resolvers": {
625625
"subnet": "Endpoint",

src/deployments/cdk/test/apps/__snapshots__/unsupported-changed.spec.ts.snap

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -626,8 +626,6 @@ exports[`there should not be any unsupported resource changes for AWS::Budgets::
626626

627627
exports[`there should not be any unsupported resource changes for AWS::Budgets::Budget: SharedNetworkPhase2VpcEndpoints2 1`] = `Array []`;
628628

629-
exports[`there should not be any unsupported resource changes for AWS::Budgets::Budget: SharedNetworkPhase2VpcEndpoints3 1`] = `Array []`;
630-
631629
exports[`there should not be any unsupported resource changes for AWS::Budgets::Budget: SharedNetworkPhase3 1`] = `Array []`;
632630

633631
exports[`there should not be any unsupported resource changes for AWS::Budgets::Budget: SharedServicesPhase1 1`] = `Array []`;
@@ -769,8 +767,6 @@ exports[`there should not be any unsupported resource changes for AWS::Directory
769767

770768
exports[`there should not be any unsupported resource changes for AWS::DirectoryService::MicrosoftAD: SharedNetworkPhase2VpcEndpoints2 1`] = `Array []`;
771769

772-
exports[`there should not be any unsupported resource changes for AWS::DirectoryService::MicrosoftAD: SharedNetworkPhase2VpcEndpoints3 1`] = `Array []`;
773-
774770
exports[`there should not be any unsupported resource changes for AWS::DirectoryService::MicrosoftAD: SharedNetworkPhase3 1`] = `Array []`;
775771

776772
exports[`there should not be any unsupported resource changes for AWS::DirectoryService::MicrosoftAD: SharedServicesPhase1 1`] = `Array []`;
@@ -1032,8 +1028,6 @@ exports[`there should not be any unsupported resource changes for AWS::EC2::Inst
10321028

10331029
exports[`there should not be any unsupported resource changes for AWS::EC2::Instance: SharedNetworkPhase2VpcEndpoints2 1`] = `Array []`;
10341030

1035-
exports[`there should not be any unsupported resource changes for AWS::EC2::Instance: SharedNetworkPhase2VpcEndpoints3 1`] = `Array []`;
1036-
10371031
exports[`there should not be any unsupported resource changes for AWS::EC2::Instance: SharedNetworkPhase3 1`] = `Array []`;
10381032

10391033
exports[`there should not be any unsupported resource changes for AWS::EC2::Instance: SharedServicesPhase1 1`] = `Array []`;
@@ -1166,8 +1160,6 @@ exports[`there should not be any unsupported resource changes for AWS::EC2::Tran
11661160

11671161
exports[`there should not be any unsupported resource changes for AWS::EC2::TransitGateway: SharedNetworkPhase2VpcEndpoints2 1`] = `Array []`;
11681162

1169-
exports[`there should not be any unsupported resource changes for AWS::EC2::TransitGateway: SharedNetworkPhase2VpcEndpoints3 1`] = `Array []`;
1170-
11711163
exports[`there should not be any unsupported resource changes for AWS::EC2::TransitGateway: SharedNetworkPhase3 1`] = `Array []`;
11721164

11731165
exports[`there should not be any unsupported resource changes for AWS::EC2::TransitGateway: SharedServicesPhase1 1`] = `Array []`;
@@ -1295,8 +1287,6 @@ exports[`there should not be any unsupported resource changes for AWS::ElasticLo
12951287

12961288
exports[`there should not be any unsupported resource changes for AWS::ElasticLoadBalancingV2::LoadBalancer: SharedNetworkPhase2VpcEndpoints2 1`] = `Array []`;
12971289

1298-
exports[`there should not be any unsupported resource changes for AWS::ElasticLoadBalancingV2::LoadBalancer: SharedNetworkPhase2VpcEndpoints3 1`] = `Array []`;
1299-
13001290
exports[`there should not be any unsupported resource changes for AWS::ElasticLoadBalancingV2::LoadBalancer: SharedNetworkPhase3 1`] = `Array []`;
13011291

13021292
exports[`there should not be any unsupported resource changes for AWS::ElasticLoadBalancingV2::LoadBalancer: SharedServicesPhase1 1`] = `Array []`;
@@ -1500,8 +1490,6 @@ exports[`there should not be any unsupported resource changes for AWS::S3::Bucke
15001490

15011491
exports[`there should not be any unsupported resource changes for AWS::S3::Bucket: SharedNetworkPhase2VpcEndpoints2 1`] = `Array []`;
15021492

1503-
exports[`there should not be any unsupported resource changes for AWS::S3::Bucket: SharedNetworkPhase2VpcEndpoints3 1`] = `Array []`;
1504-
15051493
exports[`there should not be any unsupported resource changes for AWS::S3::Bucket: SharedNetworkPhase3 1`] = `Array []`;
15061494

15071495
exports[`there should not be any unsupported resource changes for AWS::S3::Bucket: SharedServicesPhase1 1`] = `Array []`;
@@ -1675,8 +1663,6 @@ exports[`there should not be any unsupported resource changes for AWS::SecretsMa
16751663

16761664
exports[`there should not be any unsupported resource changes for AWS::SecretsManager::ResourcePolicy: SharedNetworkPhase2VpcEndpoints2 1`] = `Array []`;
16771665

1678-
exports[`there should not be any unsupported resource changes for AWS::SecretsManager::ResourcePolicy: SharedNetworkPhase2VpcEndpoints3 1`] = `Array []`;
1679-
16801666
exports[`there should not be any unsupported resource changes for AWS::SecretsManager::ResourcePolicy: SharedNetworkPhase3 1`] = `Array []`;
16811667

16821668
exports[`there should not be any unsupported resource changes for AWS::SecretsManager::ResourcePolicy: SharedServicesPhase1 1`] = `Array []`;
@@ -1852,8 +1838,6 @@ exports[`there should not be any unsupported resource changes for AWS::SecretsMa
18521838

18531839
exports[`there should not be any unsupported resource changes for AWS::SecretsManager::Secret: SharedNetworkPhase2VpcEndpoints2 1`] = `Array []`;
18541840

1855-
exports[`there should not be any unsupported resource changes for AWS::SecretsManager::Secret: SharedNetworkPhase2VpcEndpoints3 1`] = `Array []`;
1856-
18571841
exports[`there should not be any unsupported resource changes for AWS::SecretsManager::Secret: SharedNetworkPhase3 1`] = `Array []`;
18581842

18591843
exports[`there should not be any unsupported resource changes for AWS::SecretsManager::Secret: SharedServicesPhase1 1`] = `Array []`;

0 commit comments

Comments
 (0)