Skip to content

Commit

Permalink
chore: remove cdkMetadataResourceAvailable from the region test snaps…
Browse files Browse the repository at this point in the history
…hot (#28151)

We are now updating the regions automatically. So it doesn't make sense to check this information in the snapshot.

Remove the `cdkMetadataResourceAvailable` property.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
otaviomacedo authored Nov 27, 2023
1 parent 0ee4199 commit c54ac33
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": "arn:aws:lambda:af-south-1:574348263942:layer:AWS-AppConfig-Extension:46",
"2.0.58": "arn:aws:lambda:af-south-1:574348263942:layer:AWS-AppConfig-Extension:47",
},
"cdkMetadataResourceAvailable": true,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": undefined,
Expand Down Expand Up @@ -70,7 +69,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": "arn:aws:lambda:ap-east-1:630222743974:layer:AWS-AppConfig-Extension:46",
"2.0.58": "arn:aws:lambda:ap-east-1:630222743974:layer:AWS-AppConfig-Extension:47",
},
"cdkMetadataResourceAvailable": true,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": undefined,
Expand Down Expand Up @@ -122,7 +120,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": "arn:aws:lambda:ap-northeast-1:980059726660:layer:AWS-AppConfig-Extension:48",
"2.0.58": "arn:aws:lambda:ap-northeast-1:980059726660:layer:AWS-AppConfig-Extension:49",
},
"cdkMetadataResourceAvailable": true,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": "arn:aws:lambda:ap-northeast-1:580247275435:layer:LambdaInsightsExtension-Arm64:1",
Expand Down Expand Up @@ -174,7 +171,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": "arn:aws:lambda:ap-northeast-2:826293736237:layer:AWS-AppConfig-Extension:58",
"2.0.58": "arn:aws:lambda:ap-northeast-2:826293736237:layer:AWS-AppConfig-Extension:59",
},
"cdkMetadataResourceAvailable": true,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": undefined,
Expand Down Expand Up @@ -226,7 +222,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": "arn:aws:lambda:ap-northeast-3:706869817123:layer:AWS-AppConfig-Extension:45",
"2.0.58": "arn:aws:lambda:ap-northeast-3:706869817123:layer:AWS-AppConfig-Extension:46",
},
"cdkMetadataResourceAvailable": false,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": undefined,
Expand Down Expand Up @@ -278,7 +273,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": "arn:aws:lambda:ap-south-1:554480029851:layer:AWS-AppConfig-Extension:59",
"2.0.58": "arn:aws:lambda:ap-south-1:554480029851:layer:AWS-AppConfig-Extension:60",
},
"cdkMetadataResourceAvailable": true,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": "arn:aws:lambda:ap-south-1:580247275435:layer:LambdaInsightsExtension-Arm64:1",
Expand Down Expand Up @@ -330,7 +324,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": undefined,
"2.0.58": undefined,
},
"cdkMetadataResourceAvailable": false,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": undefined,
Expand Down Expand Up @@ -382,7 +375,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": "arn:aws:lambda:ap-southeast-1:421114256042:layer:AWS-AppConfig-Extension:50",
"2.0.58": "arn:aws:lambda:ap-southeast-1:421114256042:layer:AWS-AppConfig-Extension:51",
},
"cdkMetadataResourceAvailable": true,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": "arn:aws:lambda:ap-southeast-1:580247275435:layer:LambdaInsightsExtension-Arm64:1",
Expand Down Expand Up @@ -434,7 +426,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": "arn:aws:lambda:ap-southeast-2:080788657173:layer:AWS-AppConfig-Extension:58",
"2.0.58": "arn:aws:lambda:ap-southeast-2:080788657173:layer:AWS-AppConfig-Extension:59",
},
"cdkMetadataResourceAvailable": true,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": "arn:aws:lambda:ap-southeast-2:580247275435:layer:LambdaInsightsExtension-Arm64:1",
Expand Down Expand Up @@ -486,7 +477,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": "arn:aws:lambda:ap-southeast-3:418787028745:layer:AWS-AppConfig-Extension:23",
"2.0.58": "arn:aws:lambda:ap-southeast-3:418787028745:layer:AWS-AppConfig-Extension:24",
},
"cdkMetadataResourceAvailable": false,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": undefined,
Expand Down Expand Up @@ -538,7 +528,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": undefined,
"2.0.58": undefined,
},
"cdkMetadataResourceAvailable": false,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": undefined,
Expand Down Expand Up @@ -590,7 +579,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": "arn:aws:lambda:ca-central-1:039592058896:layer:AWS-AppConfig-Extension:49",
"2.0.58": "arn:aws:lambda:ca-central-1:039592058896:layer:AWS-AppConfig-Extension:50",
},
"cdkMetadataResourceAvailable": true,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": undefined,
Expand Down Expand Up @@ -642,7 +630,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": "arn:aws-cn:lambda:cn-north-1:615057806174:layer:AWS-AppConfig-Extension:45",
"2.0.58": "arn:aws-cn:lambda:cn-north-1:615057806174:layer:AWS-AppConfig-Extension:46",
},
"cdkMetadataResourceAvailable": true,
"domainSuffix": "amazonaws.com.cn",
"lambdaInsightsArmVersions": {
"1.0.119.0": undefined,
Expand Down Expand Up @@ -694,7 +681,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": "arn:aws-cn:lambda:cn-northwest-1:615084187847:layer:AWS-AppConfig-Extension:45",
"2.0.58": "arn:aws-cn:lambda:cn-northwest-1:615084187847:layer:AWS-AppConfig-Extension:46",
},
"cdkMetadataResourceAvailable": true,
"domainSuffix": "amazonaws.com.cn",
"lambdaInsightsArmVersions": {
"1.0.119.0": undefined,
Expand Down Expand Up @@ -746,7 +732,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": "arn:aws:lambda:eu-central-1:066940009817:layer:AWS-AppConfig-Extension:58",
"2.0.58": "arn:aws:lambda:eu-central-1:066940009817:layer:AWS-AppConfig-Extension:59",
},
"cdkMetadataResourceAvailable": true,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": "arn:aws:lambda:eu-central-1:580247275435:layer:LambdaInsightsExtension-Arm64:1",
Expand Down Expand Up @@ -798,7 +783,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": undefined,
"2.0.58": undefined,
},
"cdkMetadataResourceAvailable": false,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": undefined,
Expand Down Expand Up @@ -850,7 +834,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": "arn:aws:lambda:eu-north-1:646970417810:layer:AWS-AppConfig-Extension:97",
"2.0.58": "arn:aws:lambda:eu-north-1:646970417810:layer:AWS-AppConfig-Extension:98",
},
"cdkMetadataResourceAvailable": true,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": undefined,
Expand Down Expand Up @@ -902,7 +885,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": "arn:aws:lambda:eu-south-1:203683718741:layer:AWS-AppConfig-Extension:46",
"2.0.58": "arn:aws:lambda:eu-south-1:203683718741:layer:AWS-AppConfig-Extension:47",
},
"cdkMetadataResourceAvailable": true,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": undefined,
Expand Down Expand Up @@ -954,7 +936,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": undefined,
"2.0.58": undefined,
},
"cdkMetadataResourceAvailable": false,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": undefined,
Expand Down Expand Up @@ -1006,7 +987,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": "arn:aws:lambda:eu-west-1:434848589818:layer:AWS-AppConfig-Extension:68",
"2.0.58": "arn:aws:lambda:eu-west-1:434848589818:layer:AWS-AppConfig-Extension:69",
},
"cdkMetadataResourceAvailable": true,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": "arn:aws:lambda:eu-west-1:580247275435:layer:LambdaInsightsExtension-Arm64:1",
Expand Down Expand Up @@ -1058,7 +1038,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": "arn:aws:lambda:eu-west-2:282860088358:layer:AWS-AppConfig-Extension:49",
"2.0.58": "arn:aws:lambda:eu-west-2:282860088358:layer:AWS-AppConfig-Extension:50",
},
"cdkMetadataResourceAvailable": true,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": "arn:aws:lambda:eu-west-2:580247275435:layer:LambdaInsightsExtension-Arm64:1",
Expand Down Expand Up @@ -1110,7 +1089,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": "arn:aws:lambda:eu-west-3:493207061005:layer:AWS-AppConfig-Extension:50",
"2.0.58": "arn:aws:lambda:eu-west-3:493207061005:layer:AWS-AppConfig-Extension:51",
},
"cdkMetadataResourceAvailable": true,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": undefined,
Expand Down Expand Up @@ -1162,7 +1140,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": undefined,
"2.0.58": undefined,
},
"cdkMetadataResourceAvailable": false,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": undefined,
Expand Down Expand Up @@ -1214,7 +1191,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": undefined,
"2.0.58": undefined,
},
"cdkMetadataResourceAvailable": false,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": undefined,
Expand Down Expand Up @@ -1266,7 +1242,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": "arn:aws:lambda:me-south-1:559955524753:layer:AWS-AppConfig-Extension:46",
"2.0.58": "arn:aws:lambda:me-south-1:559955524753:layer:AWS-AppConfig-Extension:47",
},
"cdkMetadataResourceAvailable": true,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": undefined,
Expand Down Expand Up @@ -1318,7 +1293,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": "arn:aws:lambda:sa-east-1:000010852771:layer:AWS-AppConfig-Extension:68",
"2.0.58": "arn:aws:lambda:sa-east-1:000010852771:layer:AWS-AppConfig-Extension:69",
},
"cdkMetadataResourceAvailable": true,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": undefined,
Expand Down Expand Up @@ -1370,7 +1344,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": "arn:aws:lambda:us-east-1:027255383542:layer:AWS-AppConfig-Extension:68",
"2.0.58": "arn:aws:lambda:us-east-1:027255383542:layer:AWS-AppConfig-Extension:69",
},
"cdkMetadataResourceAvailable": true,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": "arn:aws:lambda:us-east-1:580247275435:layer:LambdaInsightsExtension-Arm64:1",
Expand Down Expand Up @@ -1422,7 +1395,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": "arn:aws:lambda:us-east-2:728743619870:layer:AWS-AppConfig-Extension:49",
"2.0.58": "arn:aws:lambda:us-east-2:728743619870:layer:AWS-AppConfig-Extension:50",
},
"cdkMetadataResourceAvailable": true,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": "arn:aws:lambda:us-east-2:580247275435:layer:LambdaInsightsExtension-Arm64:1",
Expand Down Expand Up @@ -1474,7 +1446,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": "arn:aws-us-gov:lambda:us-gov-east-1:946561847325:layer:AWS-AppConfig-Extension:22",
"2.0.58": "arn:aws-us-gov:lambda:us-gov-east-1:946561847325:layer:AWS-AppConfig-Extension:23",
},
"cdkMetadataResourceAvailable": false,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": undefined,
Expand Down Expand Up @@ -1526,7 +1497,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": "arn:aws-us-gov:lambda:us-gov-west-1:946746059096:layer:AWS-AppConfig-Extension:22",
"2.0.58": "arn:aws-us-gov:lambda:us-gov-west-1:946746059096:layer:AWS-AppConfig-Extension:23",
},
"cdkMetadataResourceAvailable": false,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": undefined,
Expand Down Expand Up @@ -1578,7 +1548,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": undefined,
"2.0.58": undefined,
},
"cdkMetadataResourceAvailable": false,
"domainSuffix": "c2s.ic.gov",
"lambdaInsightsArmVersions": {
"1.0.119.0": undefined,
Expand Down Expand Up @@ -1630,7 +1599,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": undefined,
"2.0.58": undefined,
},
"cdkMetadataResourceAvailable": false,
"domainSuffix": "c2s.ic.gov",
"lambdaInsightsArmVersions": {
"1.0.119.0": undefined,
Expand Down Expand Up @@ -1682,7 +1650,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": undefined,
"2.0.58": undefined,
},
"cdkMetadataResourceAvailable": false,
"domainSuffix": "sc2s.sgov.gov",
"lambdaInsightsArmVersions": {
"1.0.119.0": undefined,
Expand Down Expand Up @@ -1734,7 +1701,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": "arn:aws:lambda:us-west-1:958113053741:layer:AWS-AppConfig-Extension:77",
"2.0.58": "arn:aws:lambda:us-west-1:958113053741:layer:AWS-AppConfig-Extension:78",
},
"cdkMetadataResourceAvailable": true,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": undefined,
Expand Down Expand Up @@ -1786,7 +1752,6 @@ exports[`built-in data is correct 1`] = `
"2.0.45": "arn:aws:lambda:us-west-2:359756378197:layer:AWS-AppConfig-Extension:100",
"2.0.58": "arn:aws:lambda:us-west-2:359756378197:layer:AWS-AppConfig-Extension:101",
},
"cdkMetadataResourceAvailable": true,
"domainSuffix": "amazonaws.com",
"lambdaInsightsArmVersions": {
"1.0.119.0": "arn:aws:lambda:us-west-2:580247275435:layer:LambdaInsightsExtension-Arm64:1",
Expand Down
1 change: 0 additions & 1 deletion packages/aws-cdk-lib/region-info/test/region-info.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ test('built-in data is correct', () => {
}

snapshot[name] = {
cdkMetadataResourceAvailable: region.cdkMetadataResourceAvailable,
domainSuffix: region.domainSuffix,
partition: region.partition,
s3StaticWebsiteEndpoint: region.s3StaticWebsiteEndpoint,
Expand Down

0 comments on commit c54ac33

Please sign in to comment.