From d6b3aa5ef8a82a5a368e90ff309af1f43b86e66d Mon Sep 17 00:00:00 2001 From: daknhh Date: Wed, 23 Mar 2022 13:28:09 +0100 Subject: [PATCH] Bugfix --- lib/plattform-wafv2-cdk-automation-stack.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/plattform-wafv2-cdk-automation-stack.ts b/lib/plattform-wafv2-cdk-automation-stack.ts index 211b2949..21bdc811 100644 --- a/lib/plattform-wafv2-cdk-automation-stack.ts +++ b/lib/plattform-wafv2-cdk-automation-stack.ts @@ -364,30 +364,30 @@ function buildServiceDataCustomRGs(scope: Construct, type: "Pre" | "Post", capac processRuntimeProps.DeployedRuleGroupCapacities[0] = processRuntimeProps.Capacity; - new cdk.CfnOutput(scope, "PreProcessDeployedRuleGroupNames", { + new cdk.CfnOutput(scope, type+"ProcessDeployedRuleGroupNames", { value: processRuntimeProps.DeployedRuleGroupNames.toString(), - description: "PreProcessDeployedRuleGroupNames", + description: type+"ProcessDeployedRuleGroupNames", exportName: - "PreProcessDeployedRuleGroupNames" + + type+"ProcessDeployedRuleGroupNames" + deployHash, }); - new cdk.CfnOutput(scope, "PreProcessDeployedRuleGroupCapacities", { + new cdk.CfnOutput(scope, type+"ProcessDeployedRuleGroupCapacities", { value: processRuntimeProps.DeployedRuleGroupCapacities.toString(), - description: "PreProcessDeployedRuleGroupCapacities", + description: type+"ProcessDeployedRuleGroupCapacities", exportName: - "PreProcessDeployedRuleGroupCapacities" + + type+"ProcessDeployedRuleGroupCapacities" + deployHash, }); - new cdk.CfnOutput(scope, "PreProcessDeployedRuleGroupIdentifier", { + new cdk.CfnOutput(scope, type+"ProcessDeployedRuleGroupIdentifier", { value: processRuntimeProps.DeployedRuleGroupIdentifier.toString(), - description: "PreProcessDeployedRuleGroupIdentifier", + description: type+"ProcessDeployedRuleGroupIdentifier", exportName: - "PreProcessDeployedRuleGroupIdentifier" + + type+"ProcessDeployedRuleGroupIdentifier" + deployHash, }); } else {