From 529a2970bb4c1ffeb6a866233e83ffbed7f0971d Mon Sep 17 00:00:00 2001 From: Nicholas Omer Chiasson Date: Thu, 24 Oct 2024 23:13:10 +0000 Subject: [PATCH] Update integ test --- ...efaultTestDeployAssertB313B703.assets.json | 4 +- ...aultTestDeployAssertB313B703.template.json | 2 +- .../manifest.json | 20 +++++----- ...ecord-weight-from-cfnparameter.assets.json | 4 +- ...ord-weight-from-cfnparameter.template.json | 26 ++++++------ .../tree.json | 40 +++++++++---------- .../integ.record-weight-from-cfnparameter.ts | 2 +- 7 files changed, 49 insertions(+), 49 deletions(-) diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.js.snapshot/Route53RecordWeightFromCfnParameterIntegDefaultTestDeployAssertB313B703.assets.json b/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.js.snapshot/Route53RecordWeightFromCfnParameterIntegDefaultTestDeployAssertB313B703.assets.json index af2bf518084e3..401084031d4be 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.js.snapshot/Route53RecordWeightFromCfnParameterIntegDefaultTestDeployAssertB313B703.assets.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.js.snapshot/Route53RecordWeightFromCfnParameterIntegDefaultTestDeployAssertB313B703.assets.json @@ -1,7 +1,7 @@ { "version": "38.0.1", "files": { - "3af2cf653e741676340b5160ba8e02dc8c5fc5dfa4ac558c521eda8474bf7deb": { + "dd422c7ef7456abdbbf2e9b18c750ce262025988c67dc32d98218d53614783aa": { "source": { "path": "Route53RecordWeightFromCfnParameterIntegDefaultTestDeployAssertB313B703.template.json", "packaging": "file" @@ -9,7 +9,7 @@ "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "3af2cf653e741676340b5160ba8e02dc8c5fc5dfa4ac558c521eda8474bf7deb.json", + "objectKey": "dd422c7ef7456abdbbf2e9b18c750ce262025988c67dc32d98218d53614783aa.json", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.js.snapshot/Route53RecordWeightFromCfnParameterIntegDefaultTestDeployAssertB313B703.template.json b/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.js.snapshot/Route53RecordWeightFromCfnParameterIntegDefaultTestDeployAssertB313B703.template.json index 723b713d45146..54b58f2119219 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.js.snapshot/Route53RecordWeightFromCfnParameterIntegDefaultTestDeployAssertB313B703.template.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.js.snapshot/Route53RecordWeightFromCfnParameterIntegDefaultTestDeployAssertB313B703.template.json @@ -3,7 +3,7 @@ "CDKMetadata": { "Type": "AWS::CDK::Metadata", "Properties": { - "Analytics": "v2:deflate64:H4sIAAAAAAAA/zPQM9AzUEwsL9ZNTsnWzclM0qsOLklMztZxTssLSi3OLy1KTgWxnfPzUjJLMvPzanXy8lNS9bKK9cuMDPQMzYG6s4ozM3WLSvNKMnNT9YIgNADUHT34WAAAAA==" + "Analytics": "v2:deflate64:H4sIAAAAAAAA/yXGuw2AIBAA0Fno4Tyt7NkAJ0DA5ECPhI8Wxt2NsXoPAQGFvapyPqmdVriXZl2SemMTau7Fhe86s6dGmR/J2QeIdTgnhHEGFLESqdK50RHA/L4dFigbWAAAAA==" }, "Metadata": { "aws:cdk:path": "Route53RecordWeightFromCfnParameterInteg/DefaultTest/DeployAssert/CDKMetadata/Default" diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.js.snapshot/manifest.json b/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.js.snapshot/manifest.json index 499d48f273e5d..06ee57cfb9cc2 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.js.snapshot/manifest.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.js.snapshot/manifest.json @@ -19,7 +19,7 @@ "notificationArns": [], "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}", "cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}", - "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/f31b955cf926ccd8b253b95178911440228fdb6c8c302c2129929764634e16da.json", + "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/24621e779b3b62c4e28e85db4bf2bbaa80f572df06130a9963c0eafeeb2b5a92.json", "requiresBootstrapStackVersion": 6, "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version", "additionalDependencies": [ @@ -65,28 +65,28 @@ "data": "RecordWeight3" } ], - "/record-weight-from-cfnparameter/WeightedRecord0/Resource": [ + "/record-weight-from-cfnparameter/RecordWeightedFromCfnParameter0/Resource": [ { "type": "aws:cdk:logicalId", - "data": "WeightedRecord0183C6356" + "data": "RecordWeightedFromCfnParameter0FB5DFC65" } ], - "/record-weight-from-cfnparameter/WeightedRecord1/Resource": [ + "/record-weight-from-cfnparameter/RecordWeightedFromCfnParameter1/Resource": [ { "type": "aws:cdk:logicalId", - "data": "WeightedRecord1901777B1" + "data": "RecordWeightedFromCfnParameter11D8E5896" } ], - "/record-weight-from-cfnparameter/WeightedRecord2/Resource": [ + "/record-weight-from-cfnparameter/RecordWeightedFromCfnParameter2/Resource": [ { "type": "aws:cdk:logicalId", - "data": "WeightedRecord2D4D415A2" + "data": "RecordWeightedFromCfnParameter2B12A1DFB" } ], - "/record-weight-from-cfnparameter/WeightedRecord3/Resource": [ + "/record-weight-from-cfnparameter/RecordWeightedFromCfnParameter3/Resource": [ { "type": "aws:cdk:logicalId", - "data": "WeightedRecord328406D0A" + "data": "RecordWeightedFromCfnParameter3D5E67423" } ], "/record-weight-from-cfnparameter/CDKMetadata/Default": [ @@ -134,7 +134,7 @@ "notificationArns": [], "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}", "cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}", - "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/3af2cf653e741676340b5160ba8e02dc8c5fc5dfa4ac558c521eda8474bf7deb.json", + "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/dd422c7ef7456abdbbf2e9b18c750ce262025988c67dc32d98218d53614783aa.json", "requiresBootstrapStackVersion": 6, "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version", "additionalDependencies": [ diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.js.snapshot/record-weight-from-cfnparameter.assets.json b/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.js.snapshot/record-weight-from-cfnparameter.assets.json index 5cdc0e88248da..b7552c2bdcd48 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.js.snapshot/record-weight-from-cfnparameter.assets.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.js.snapshot/record-weight-from-cfnparameter.assets.json @@ -1,7 +1,7 @@ { "version": "38.0.1", "files": { - "f31b955cf926ccd8b253b95178911440228fdb6c8c302c2129929764634e16da": { + "24621e779b3b62c4e28e85db4bf2bbaa80f572df06130a9963c0eafeeb2b5a92": { "source": { "path": "record-weight-from-cfnparameter.template.json", "packaging": "file" @@ -9,7 +9,7 @@ "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "f31b955cf926ccd8b253b95178911440228fdb6c8c302c2129929764634e16da.json", + "objectKey": "24621e779b3b62c4e28e85db4bf2bbaa80f572df06130a9963c0eafeeb2b5a92.json", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.js.snapshot/record-weight-from-cfnparameter.template.json b/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.js.snapshot/record-weight-from-cfnparameter.template.json index 064caae2ea758..9551b693720c4 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.js.snapshot/record-weight-from-cfnparameter.template.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.js.snapshot/record-weight-from-cfnparameter.template.json @@ -9,7 +9,7 @@ "aws:cdk:path": "record-weight-from-cfnparameter/HostedZone/Resource" } }, - "WeightedRecord0183C6356": { + "RecordWeightedFromCfnParameter0FB5DFC65": { "Type": "AWS::Route53::RecordSet", "Properties": { "HostedZoneId": { @@ -27,7 +27,7 @@ { "Ref": "RecordWeight0" }, - "_ID_recordweightedRecord080EC42DE" + "_ID_recordweigParameter04970FE98" ] ] }, @@ -38,10 +38,10 @@ } }, "Metadata": { - "aws:cdk:path": "record-weight-from-cfnparameter/WeightedRecord0/Resource" + "aws:cdk:path": "record-weight-from-cfnparameter/RecordWeightedFromCfnParameter0/Resource" } }, - "WeightedRecord1901777B1": { + "RecordWeightedFromCfnParameter11D8E5896": { "Type": "AWS::Route53::RecordSet", "Properties": { "HostedZoneId": { @@ -59,7 +59,7 @@ { "Ref": "RecordWeight1" }, - "_ID_recordweightedRecord118B8FA43" + "_ID_recordweigParameter1EB51A657" ] ] }, @@ -70,10 +70,10 @@ } }, "Metadata": { - "aws:cdk:path": "record-weight-from-cfnparameter/WeightedRecord1/Resource" + "aws:cdk:path": "record-weight-from-cfnparameter/RecordWeightedFromCfnParameter1/Resource" } }, - "WeightedRecord2D4D415A2": { + "RecordWeightedFromCfnParameter2B12A1DFB": { "Type": "AWS::Route53::RecordSet", "Properties": { "HostedZoneId": { @@ -91,7 +91,7 @@ { "Ref": "RecordWeight2" }, - "_ID_recordweightedRecord29D395B6F" + "_ID_recordweigParameter208409FED" ] ] }, @@ -102,10 +102,10 @@ } }, "Metadata": { - "aws:cdk:path": "record-weight-from-cfnparameter/WeightedRecord2/Resource" + "aws:cdk:path": "record-weight-from-cfnparameter/RecordWeightedFromCfnParameter2/Resource" } }, - "WeightedRecord328406D0A": { + "RecordWeightedFromCfnParameter3D5E67423": { "Type": "AWS::Route53::RecordSet", "Properties": { "HostedZoneId": { @@ -123,7 +123,7 @@ { "Ref": "RecordWeight3" }, - "_ID_recordweightedRecord38AAB01D6" + "_ID_recordweigParameter3841525F4" ] ] }, @@ -134,13 +134,13 @@ } }, "Metadata": { - "aws:cdk:path": "record-weight-from-cfnparameter/WeightedRecord3/Resource" + "aws:cdk:path": "record-weight-from-cfnparameter/RecordWeightedFromCfnParameter3/Resource" } }, "CDKMetadata": { "Type": "AWS::CDK::Metadata", "Properties": { - "Analytics": "v2:deflate64:H4sIAAAAAAAA/02OvQ7CMBCDn4U9OUIRYkZdGKt2Y0FpckjXn5yUXGCo+u60ZGGy/VmWbMCAOdhP0s6PeqIelk6sG9WGnpGz4OUMS5P7idydk6B/cEBVv8JfurXoOPqdFtehrHtqbLQzCsZSJc7R/cY1B09CHFYV2CMM6fiuDJyu25khEemYg9CM0Bb9AmpStzOnAAAA" + "Analytics": "v2:deflate64:H4sIAAAAAAAA/02Luw7CMBAEvyW9fZggJFqUhjJKOhrk2Id0efgk+0yKKP+Oghuq3ZnVGjBgKrsm7fykZxpg68W6Sdk1vSJnwesFtjYPM7kHJ0H/5ICqeYc/unfoOPrDltaj7Ae1NtoFBWOZEufofueGgychDrsK7BHGdPrUBs43MNWYiHTMQWhB6Ep+AaNZotCnAAAA" }, "Metadata": { "aws:cdk:path": "record-weight-from-cfnparameter/CDKMetadata/Default" diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.js.snapshot/tree.json b/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.js.snapshot/tree.json index 33ec549b1ae99..59f30749810be 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.js.snapshot/tree.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.js.snapshot/tree.json @@ -64,13 +64,13 @@ "version": "0.0.0" } }, - "WeightedRecord0": { - "id": "WeightedRecord0", - "path": "record-weight-from-cfnparameter/WeightedRecord0", + "RecordWeightedFromCfnParameter0": { + "id": "RecordWeightedFromCfnParameter0", + "path": "record-weight-from-cfnparameter/RecordWeightedFromCfnParameter0", "children": { "Resource": { "id": "Resource", - "path": "record-weight-from-cfnparameter/WeightedRecord0/Resource", + "path": "record-weight-from-cfnparameter/RecordWeightedFromCfnParameter0/Resource", "attributes": { "aws:cdk:cloudformation:type": "AWS::Route53::RecordSet", "aws:cdk:cloudformation:props": { @@ -89,7 +89,7 @@ { "Ref": "RecordWeight0" }, - "_ID_recordweightedRecord080EC42DE" + "_ID_recordweigParameter04970FE98" ] ] }, @@ -111,13 +111,13 @@ "version": "0.0.0" } }, - "WeightedRecord1": { - "id": "WeightedRecord1", - "path": "record-weight-from-cfnparameter/WeightedRecord1", + "RecordWeightedFromCfnParameter1": { + "id": "RecordWeightedFromCfnParameter1", + "path": "record-weight-from-cfnparameter/RecordWeightedFromCfnParameter1", "children": { "Resource": { "id": "Resource", - "path": "record-weight-from-cfnparameter/WeightedRecord1/Resource", + "path": "record-weight-from-cfnparameter/RecordWeightedFromCfnParameter1/Resource", "attributes": { "aws:cdk:cloudformation:type": "AWS::Route53::RecordSet", "aws:cdk:cloudformation:props": { @@ -136,7 +136,7 @@ { "Ref": "RecordWeight1" }, - "_ID_recordweightedRecord118B8FA43" + "_ID_recordweigParameter1EB51A657" ] ] }, @@ -158,13 +158,13 @@ "version": "0.0.0" } }, - "WeightedRecord2": { - "id": "WeightedRecord2", - "path": "record-weight-from-cfnparameter/WeightedRecord2", + "RecordWeightedFromCfnParameter2": { + "id": "RecordWeightedFromCfnParameter2", + "path": "record-weight-from-cfnparameter/RecordWeightedFromCfnParameter2", "children": { "Resource": { "id": "Resource", - "path": "record-weight-from-cfnparameter/WeightedRecord2/Resource", + "path": "record-weight-from-cfnparameter/RecordWeightedFromCfnParameter2/Resource", "attributes": { "aws:cdk:cloudformation:type": "AWS::Route53::RecordSet", "aws:cdk:cloudformation:props": { @@ -183,7 +183,7 @@ { "Ref": "RecordWeight2" }, - "_ID_recordweightedRecord29D395B6F" + "_ID_recordweigParameter208409FED" ] ] }, @@ -205,13 +205,13 @@ "version": "0.0.0" } }, - "WeightedRecord3": { - "id": "WeightedRecord3", - "path": "record-weight-from-cfnparameter/WeightedRecord3", + "RecordWeightedFromCfnParameter3": { + "id": "RecordWeightedFromCfnParameter3", + "path": "record-weight-from-cfnparameter/RecordWeightedFromCfnParameter3", "children": { "Resource": { "id": "Resource", - "path": "record-weight-from-cfnparameter/WeightedRecord3/Resource", + "path": "record-weight-from-cfnparameter/RecordWeightedFromCfnParameter3/Resource", "attributes": { "aws:cdk:cloudformation:type": "AWS::Route53::RecordSet", "aws:cdk:cloudformation:props": { @@ -230,7 +230,7 @@ { "Ref": "RecordWeight3" }, - "_ID_recordweightedRecord38AAB01D6" + "_ID_recordweigParameter3841525F4" ] ] }, diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.ts b/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.ts index 2f8dacb1bf9f0..689b97a64aca5 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.ts +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.record-weight-from-cfnparameter.ts @@ -24,7 +24,7 @@ class TestStack extends Stack { { target: '3.4.5.6', weight: new CfnParameter(this, 'RecordWeight2', weightParameterProps) }, { target: '4.5.6.7', weight: new CfnParameter(this, 'RecordWeight3', weightParameterProps) }, ].forEach((data, index) => { - new route53.ARecord(this, `WeightedRecord${index}`, { + new route53.ARecord(this, `RecordWeightedFromCfnParameter${index}`, { zone: hostedZone, recordName: 'www', weight: data.weight.valueAsNumber,