diff --git a/packages/@aws-cdk/aws-appconfig-alpha/lib/configuration.ts b/packages/@aws-cdk/aws-appconfig-alpha/lib/configuration.ts index fc84fa491c85c..409567835c46d 100644 --- a/packages/@aws-cdk/aws-appconfig-alpha/lib/configuration.ts +++ b/packages/@aws-cdk/aws-appconfig-alpha/lib/configuration.ts @@ -203,8 +203,6 @@ abstract class ConfigurationBase extends Construct implements IConfiguration, IE }); } - protected abstract getDeploymentHash(environment: IEnvironment): string; - /** * Adds an extension defined by the action point and event destination * and also creates an extension association to the configuration profile. @@ -312,8 +310,7 @@ abstract class ConfigurationBase extends Construct implements IConfiguration, IE * please take a look into https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appconfig.CfnDeployment.html. */ public deploy(environment: IEnvironment) { - const logicalId = `Deployment${this.getDeploymentHash(environment)}`; - new CfnDeployment(this, logicalId, { + new CfnDeployment(this, `Deployment${getHash(environment.name!)}`, { applicationId: this.application.applicationId, configurationProfileId: this.configurationProfileId, deploymentStrategyId: this.deploymentStrategy!.deploymentStrategyId, @@ -485,16 +482,6 @@ export class HostedConfiguration extends ConfigurationBase { this.addExistingEnvironmentsToApplication(); this.deployConfigToEnvironments(); } - - protected getDeploymentHash(environment: IEnvironment): string { - const combinedString = ` - ${this.application!.name!} - ${this.name!} - ${environment.name!} - ${this.content} - `; - return getHash(combinedString); - } } /** @@ -626,17 +613,6 @@ export class SourcedConfiguration extends ConfigurationBase { this.deployConfigToEnvironments(); } - protected getDeploymentHash(environment: IEnvironment): string { - const combinedString = ` - ${this.application!.name!} - ${this.name!} - ${environment.name!} - ${this.versionNumber} - ${this.location.type} - `; - return getHash(combinedString); - } - private getPolicyForRole(): iam.PolicyDocument { const policy = new iam.PolicyStatement({ effect: iam.Effect.ALLOW, diff --git a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/.cache/e976a796f036a5efbf44b99e44cfb5a961df08d8dbf7cd37e60bf216fb982a00.zip b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/.cache/e976a796f036a5efbf44b99e44cfb5a961df08d8dbf7cd37e60bf216fb982a00.zip deleted file mode 100644 index ed9129d5ece9c..0000000000000 Binary files a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/.cache/e976a796f036a5efbf44b99e44cfb5a961df08d8dbf7cd37e60bf216fb982a00.zip and /dev/null differ diff --git a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/appconfigconfigurationDefaultTestDeployAssert6752CD38.assets.json b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/appconfigconfigurationDefaultTestDeployAssert6752CD38.assets.json index 27de550a70bb7..10ca0ca02c75f 100644 --- a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/appconfigconfigurationDefaultTestDeployAssert6752CD38.assets.json +++ b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/appconfigconfigurationDefaultTestDeployAssert6752CD38.assets.json @@ -1,5 +1,5 @@ { - "version": "35.0.0", + "version": "36.0.0", "files": { "21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22": { "source": { diff --git a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/aws-appconfig-configuration.assets.json b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/aws-appconfig-configuration.assets.json index f860e3b4a8908..b3c18ade008ce 100644 --- a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/aws-appconfig-configuration.assets.json +++ b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/aws-appconfig-configuration.assets.json @@ -1,5 +1,5 @@ { - "version": "35.0.0", + "version": "36.0.0", "files": { "3fb6287214999ddeafa7cd0e3e58bc5144c8678bb720f3b5e45e8fd32f333eb3": { "source": { @@ -53,7 +53,7 @@ } } }, - "df33d9dc000fae6b4ae1252e22f268275eac602b701d0e4c4aa8c463411bb15e": { + "5bc35f77ae043e1325ceeade89e9fee2699ca6ab9bc6110050755ee43ca14c88": { "source": { "path": "aws-appconfig-configuration.template.json", "packaging": "file" @@ -61,7 +61,7 @@ "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "df33d9dc000fae6b4ae1252e22f268275eac602b701d0e4c4aa8c463411bb15e.json", + "objectKey": "5bc35f77ae043e1325ceeade89e9fee2699ca6ab9bc6110050755ee43ca14c88.json", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } diff --git a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/aws-appconfig-configuration.template.json b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/aws-appconfig-configuration.template.json index 9b57163a553d7..66021e83fb27c 100644 --- a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/aws-appconfig-configuration.template.json +++ b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/aws-appconfig-configuration.template.json @@ -168,7 +168,7 @@ "UpdateReplacePolicy": "Retain", "DeletionPolicy": "Retain" }, - "MyHostedConfigDeploymentE4742E8E64DF4": { + "MyHostedConfigDeployment8E5DB1FCC9183": { "Type": "AWS::AppConfig::Deployment", "Properties": { "ApplicationId": { @@ -213,7 +213,7 @@ "UpdateReplacePolicy": "Retain", "DeletionPolicy": "Retain" }, - "MyHostedConfigFromJsonDeploymentCD82E3049E374": { + "MyHostedConfigFromJsonDeployment3AC6ED5A2933B": { "Type": "AWS::AppConfig::Deployment", "Properties": { "ApplicationId": { @@ -233,7 +233,7 @@ } } }, - "MyHostedConfigFromJsonDeploymentEFECDBC4087F1": { + "MyHostedConfigFromJsonDeploymentFA00BC528601D": { "Type": "AWS::AppConfig::Deployment", "Properties": { "ApplicationId": { @@ -278,7 +278,7 @@ "UpdateReplacePolicy": "Retain", "DeletionPolicy": "Retain" }, - "MyHostedConfigFromYamlDeploymentFE9624CBE5FC6": { + "MyHostedConfigFromYamlDeploymentD93A5BDCCAAB2": { "Type": "AWS::AppConfig::Deployment", "Properties": { "ApplicationId": { @@ -472,7 +472,7 @@ ] } }, - "MyConfigFromParameterDeployment0C84B4B3BAD6B": { + "MyConfigFromParameterDeployment28051DE6185BF": { "Type": "AWS::AppConfig::Deployment", "Properties": { "ApplicationId": { @@ -593,7 +593,7 @@ } } }, - "MyConfigFromDocumentDeployment1520EE7C916D3": { + "MyConfigFromDocumentDeployment7A5BA9D7D69C3": { "Type": "AWS::AppConfig::Deployment", "Properties": { "ApplicationId": { diff --git a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/cdk.out b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/cdk.out index c5cb2e5de6344..1f0068d32659a 100644 --- a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/cdk.out +++ b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/cdk.out @@ -1 +1 @@ -{"version":"35.0.0"} \ No newline at end of file +{"version":"36.0.0"} \ No newline at end of file diff --git a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/integ.json b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/integ.json index 068597e4c3454..e83486dc65553 100644 --- a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/integ.json +++ b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/integ.json @@ -1,5 +1,5 @@ { - "version": "35.0.0", + "version": "36.0.0", "testCases": { "appconfig-configuration/DefaultTest": { "stacks": [ diff --git a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/manifest.json b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/manifest.json index 0a4c2ed473aae..3a13aa7037e10 100644 --- a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/manifest.json +++ b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/manifest.json @@ -1,5 +1,5 @@ { - "version": "35.0.0", + "version": "36.0.0", "artifacts": { "aws-appconfig-configuration.assets": { "type": "cdk:asset-manifest", @@ -18,7 +18,7 @@ "validateOnSynth": false, "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}/df33d9dc000fae6b4ae1252e22f268275eac602b701d0e4c4aa8c463411bb15e.json", + "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/5bc35f77ae043e1325ceeade89e9fee2699ca6ab9bc6110050755ee43ca14c88.json", "requiresBootstrapStackVersion": 6, "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version", "additionalDependencies": [ @@ -130,10 +130,10 @@ "data": "MyHostedConfig51D3877D" } ], - "/aws-appconfig-configuration/MyHostedConfig/DeploymentE4742": [ + "/aws-appconfig-configuration/MyHostedConfig/Deployment8E5DB": [ { "type": "aws:cdk:logicalId", - "data": "MyHostedConfigDeploymentE4742E8E64DF4" + "data": "MyHostedConfigDeployment8E5DB1FCC9183" } ], "/aws-appconfig-configuration/MyHostedConfigFromJson/ConfigurationProfile": [ @@ -148,16 +148,16 @@ "data": "MyHostedConfigFromJsonD8CF9BE4" } ], - "/aws-appconfig-configuration/MyHostedConfigFromJson/DeploymentCD82E": [ + "/aws-appconfig-configuration/MyHostedConfigFromJson/Deployment3AC6E": [ { "type": "aws:cdk:logicalId", - "data": "MyHostedConfigFromJsonDeploymentCD82E3049E374" + "data": "MyHostedConfigFromJsonDeployment3AC6ED5A2933B" } ], - "/aws-appconfig-configuration/MyHostedConfigFromJson/DeploymentEFECD": [ + "/aws-appconfig-configuration/MyHostedConfigFromJson/DeploymentFA00B": [ { "type": "aws:cdk:logicalId", - "data": "MyHostedConfigFromJsonDeploymentEFECDBC4087F1" + "data": "MyHostedConfigFromJsonDeploymentFA00BC528601D" } ], "/aws-appconfig-configuration/MyHostedConfigFromYaml/ConfigurationProfile": [ @@ -172,10 +172,10 @@ "data": "MyHostedConfigFromYaml13C5BE35" } ], - "/aws-appconfig-configuration/MyHostedConfigFromYaml/DeploymentFE962": [ + "/aws-appconfig-configuration/MyHostedConfigFromYaml/DeploymentD93A5": [ { "type": "aws:cdk:logicalId", - "data": "MyHostedConfigFromYamlDeploymentFE9624CBE5FC6" + "data": "MyHostedConfigFromYamlDeploymentD93A5BDCCAAB2" } ], "/aws-appconfig-configuration/MyValidatorFunction/ServiceRole/Resource": [ @@ -214,10 +214,10 @@ "data": "MyConfigFromParameterDC204468" } ], - "/aws-appconfig-configuration/MyConfigFromParameter/Deployment0C84B": [ + "/aws-appconfig-configuration/MyConfigFromParameter/Deployment28051": [ { "type": "aws:cdk:logicalId", - "data": "MyConfigFromParameterDeployment0C84B4B3BAD6B" + "data": "MyConfigFromParameterDeployment28051DE6185BF" } ], "/aws-appconfig-configuration/MyDocument": [ @@ -238,10 +238,10 @@ "data": "MyConfigFromDocument79E66ABA" } ], - "/aws-appconfig-configuration/MyConfigFromDocument/Deployment1520E": [ + "/aws-appconfig-configuration/MyConfigFromDocument/Deployment7A5BA": [ { "type": "aws:cdk:logicalId", - "data": "MyConfigFromDocumentDeployment1520EE7C916D3" + "data": "MyConfigFromDocumentDeployment7A5BA9D7D69C3" } ], "/aws-appconfig-configuration/MyBucket/Resource": [ @@ -441,6 +441,60 @@ "type": "aws:cdk:logicalId", "data": "CheckBootstrapVersion" } + ], + "MyHostedConfigDeploymentawsappconfigconfigurationMyAppConfigHostedEnvD1EED3BE0F97C0D3": [ + { + "type": "aws:cdk:logicalId", + "data": "MyHostedConfigDeploymentawsappconfigconfigurationMyAppConfigHostedEnvD1EED3BE0F97C0D3", + "trace": [ + "!!DESTRUCTIVE_CHANGES: WILL_DESTROY" + ] + } + ], + "MyHostedConfigFromJsonDeploymentawsappconfigconfigurationMyAppConfigHostedEnvFromJson140D2DDD244BF117": [ + { + "type": "aws:cdk:logicalId", + "data": "MyHostedConfigFromJsonDeploymentawsappconfigconfigurationMyAppConfigHostedEnvFromJson140D2DDD244BF117", + "trace": [ + "!!DESTRUCTIVE_CHANGES: WILL_DESTROY" + ] + } + ], + "MyHostedConfigFromJsonDeploymentawsappconfigconfigurationMyAppConfigEnvDeployLater91038922BE3B2B72": [ + { + "type": "aws:cdk:logicalId", + "data": "MyHostedConfigFromJsonDeploymentawsappconfigconfigurationMyAppConfigEnvDeployLater91038922BE3B2B72", + "trace": [ + "!!DESTRUCTIVE_CHANGES: WILL_DESTROY" + ] + } + ], + "MyHostedConfigFromYamlDeploymentawsappconfigconfigurationMyAppConfigHostedEnvFromYamlBB2C802A4CD2FE75": [ + { + "type": "aws:cdk:logicalId", + "data": "MyHostedConfigFromYamlDeploymentawsappconfigconfigurationMyAppConfigHostedEnvFromYamlBB2C802A4CD2FE75", + "trace": [ + "!!DESTRUCTIVE_CHANGES: WILL_DESTROY" + ] + } + ], + "MyConfigFromParameterDeploymentawsappconfigconfigurationMyAppConfigParameterEnv803E803A981AE384": [ + { + "type": "aws:cdk:logicalId", + "data": "MyConfigFromParameterDeploymentawsappconfigconfigurationMyAppConfigParameterEnv803E803A981AE384", + "trace": [ + "!!DESTRUCTIVE_CHANGES: WILL_DESTROY" + ] + } + ], + "MyConfigFromDocumentDeploymentawsappconfigconfigurationMyAppConfigDocumentEnv5B0DCEC50DD481E9": [ + { + "type": "aws:cdk:logicalId", + "data": "MyConfigFromDocumentDeploymentawsappconfigconfigurationMyAppConfigDocumentEnv5B0DCEC50DD481E9", + "trace": [ + "!!DESTRUCTIVE_CHANGES: WILL_DESTROY" + ] + } ] }, "displayName": "aws-appconfig-configuration" diff --git a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/tree.json b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/tree.json index eaf7cfc6ce8e9..19230214d3c77 100644 --- a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/tree.json +++ b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.configuration.js.snapshot/tree.json @@ -434,9 +434,9 @@ "version": "0.0.0" } }, - "DeploymentE4742": { - "id": "DeploymentE4742", - "path": "aws-appconfig-configuration/MyHostedConfig/DeploymentE4742", + "Deployment8E5DB": { + "id": "Deployment8E5DB", + "path": "aws-appconfig-configuration/MyHostedConfig/Deployment8E5DB", "attributes": { "aws:cdk:cloudformation:type": "AWS::AppConfig::Deployment", "aws:cdk:cloudformation:props": { @@ -511,9 +511,9 @@ "version": "0.0.0" } }, - "DeploymentCD82E": { - "id": "DeploymentCD82E", - "path": "aws-appconfig-configuration/MyHostedConfigFromJson/DeploymentCD82E", + "Deployment3AC6E": { + "id": "Deployment3AC6E", + "path": "aws-appconfig-configuration/MyHostedConfigFromJson/Deployment3AC6E", "attributes": { "aws:cdk:cloudformation:type": "AWS::AppConfig::Deployment", "aws:cdk:cloudformation:props": { @@ -539,9 +539,9 @@ "version": "0.0.0" } }, - "DeploymentEFECD": { - "id": "DeploymentEFECD", - "path": "aws-appconfig-configuration/MyHostedConfigFromJson/DeploymentEFECD", + "DeploymentFA00B": { + "id": "DeploymentFA00B", + "path": "aws-appconfig-configuration/MyHostedConfigFromJson/DeploymentFA00B", "attributes": { "aws:cdk:cloudformation:type": "AWS::AppConfig::Deployment", "aws:cdk:cloudformation:props": { @@ -616,9 +616,9 @@ "version": "0.0.0" } }, - "DeploymentFE962": { - "id": "DeploymentFE962", - "path": "aws-appconfig-configuration/MyHostedConfigFromYaml/DeploymentFE962", + "DeploymentD93A5": { + "id": "DeploymentD93A5", + "path": "aws-appconfig-configuration/MyHostedConfigFromYaml/DeploymentD93A5", "attributes": { "aws:cdk:cloudformation:type": "AWS::AppConfig::Deployment", "aws:cdk:cloudformation:props": { @@ -929,9 +929,9 @@ "version": "0.0.0" } }, - "Deployment0C84B": { - "id": "Deployment0C84B", - "path": "aws-appconfig-configuration/MyConfigFromParameter/Deployment0C84B", + "Deployment28051": { + "id": "Deployment28051", + "path": "aws-appconfig-configuration/MyConfigFromParameter/Deployment28051", "attributes": { "aws:cdk:cloudformation:type": "AWS::AppConfig::Deployment", "aws:cdk:cloudformation:props": { @@ -1110,9 +1110,9 @@ "version": "0.0.0" } }, - "Deployment1520E": { - "id": "Deployment1520E", - "path": "aws-appconfig-configuration/MyConfigFromDocument/Deployment1520E", + "Deployment7A5BA": { + "id": "Deployment7A5BA", + "path": "aws-appconfig-configuration/MyConfigFromDocument/Deployment7A5BA", "attributes": { "aws:cdk:cloudformation:type": "AWS::AppConfig::Deployment", "aws:cdk:cloudformation:props": { diff --git a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/aws-appconfig-extension.assets.json b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/aws-appconfig-extension.assets.json index 01f0d93290980..dac0e858ae772 100644 --- a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/aws-appconfig-extension.assets.json +++ b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/aws-appconfig-extension.assets.json @@ -1,7 +1,7 @@ { - "version": "35.0.0", + "version": "36.0.0", "files": { - "02bbe1ffe7441a077ae005cb5c2021e9fa0695eaf317fee128db4b28b2919512": { + "a4f22807b445e94aa9052ebdd44c6cfce2d3479cdede016c64f821562394d574": { "source": { "path": "aws-appconfig-extension.template.json", "packaging": "file" @@ -9,7 +9,7 @@ "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "02bbe1ffe7441a077ae005cb5c2021e9fa0695eaf317fee128db4b28b2919512.json", + "objectKey": "a4f22807b445e94aa9052ebdd44c6cfce2d3479cdede016c64f821562394d574.json", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } diff --git a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/aws-appconfig-extension.template.json b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/aws-appconfig-extension.template.json index b9f858767e182..0c4e85df30557 100644 --- a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/aws-appconfig-extension.template.json +++ b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/aws-appconfig-extension.template.json @@ -544,7 +544,7 @@ "UpdateReplacePolicy": "Retain", "DeletionPolicy": "Retain" }, - "HostedConfigurationDeploymentA86BAE6C77C59": { + "HostedConfigurationDeployment9D5FCC2741866": { "Type": "AWS::AppConfig::Deployment", "Properties": { "ApplicationId": { diff --git a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/awsappconfigextensionMyApplicationappconfigextensionDefaultTestDeployAssert64BA6C4E.assets.json b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/awsappconfigextensionMyApplicationappconfigextensionDefaultTestDeployAssert64BA6C4E.assets.json index d235322fb9ff1..2ff5b1321ea06 100644 --- a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/awsappconfigextensionMyApplicationappconfigextensionDefaultTestDeployAssert64BA6C4E.assets.json +++ b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/awsappconfigextensionMyApplicationappconfigextensionDefaultTestDeployAssert64BA6C4E.assets.json @@ -1,5 +1,5 @@ { - "version": "35.0.0", + "version": "36.0.0", "files": { "21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22": { "source": { diff --git a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/cdk.out b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/cdk.out index c5cb2e5de6344..1f0068d32659a 100644 --- a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/cdk.out +++ b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/cdk.out @@ -1 +1 @@ -{"version":"35.0.0"} \ No newline at end of file +{"version":"36.0.0"} \ No newline at end of file diff --git a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/integ.json b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/integ.json index c7a092c06e3cc..d86521a772834 100644 --- a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/integ.json +++ b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/integ.json @@ -1,5 +1,5 @@ { - "version": "35.0.0", + "version": "36.0.0", "testCases": { "aws-appconfig-extension/MyApplication/appconfig-extension/DefaultTest": { "stacks": [ diff --git a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/manifest.json b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/manifest.json index f259850222e03..cfc53f9a90ce6 100644 --- a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/manifest.json +++ b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/manifest.json @@ -1,5 +1,5 @@ { - "version": "35.0.0", + "version": "36.0.0", "artifacts": { "awsappconfigextensionMyApplicationappconfigextensionDefaultTestDeployAssert64BA6C4E.assets": { "type": "cdk:asset-manifest", @@ -66,7 +66,7 @@ "validateOnSynth": false, "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}/02bbe1ffe7441a077ae005cb5c2021e9fa0695eaf317fee128db4b28b2919512.json", + "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/a4f22807b445e94aa9052ebdd44c6cfce2d3479cdede016c64f821562394d574.json", "requiresBootstrapStackVersion": 6, "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version", "additionalDependencies": [ @@ -208,10 +208,10 @@ "data": "HostedConfiguration257746B4" } ], - "/aws-appconfig-extension/HostedConfiguration/DeploymentA86BA": [ + "/aws-appconfig-extension/HostedConfiguration/Deployment9D5FC": [ { "type": "aws:cdk:logicalId", - "data": "HostedConfigurationDeploymentA86BAE6C77C59" + "data": "HostedConfigurationDeployment9D5FCC2741866" } ], "/aws-appconfig-extension/BootstrapVersion": [ @@ -225,6 +225,15 @@ "type": "aws:cdk:logicalId", "data": "CheckBootstrapVersion" } + ], + "HostedConfigurationDeploymentawsappconfigextensionMyApplicationMyEnv0FA5092F8D4EFA96": [ + { + "type": "aws:cdk:logicalId", + "data": "HostedConfigurationDeploymentawsappconfigextensionMyApplicationMyEnv0FA5092F8D4EFA96", + "trace": [ + "!!DESTRUCTIVE_CHANGES: WILL_DESTROY" + ] + } ] }, "displayName": "aws-appconfig-extension" diff --git a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/tree.json b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/tree.json index 2e6b8c58a9c55..8dc4a4901b811 100644 --- a/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/tree.json +++ b/packages/@aws-cdk/aws-appconfig-alpha/test/integ.extension.js.snapshot/tree.json @@ -935,9 +935,9 @@ "version": "0.0.0" } }, - "DeploymentA86BA": { - "id": "DeploymentA86BA", - "path": "aws-appconfig-extension/HostedConfiguration/DeploymentA86BA", + "Deployment9D5FC": { + "id": "Deployment9D5FC", + "path": "aws-appconfig-extension/HostedConfiguration/Deployment9D5FC", "attributes": { "aws:cdk:cloudformation:type": "AWS::AppConfig::Deployment", "aws:cdk:cloudformation:props": {