Skip to content

Commit

Permalink
Merge pull request #27 from globaldatanet/bugfix/wrongoutputs
Browse files Browse the repository at this point in the history
2.1.3 Bugfix for PostProcess Rule Output
  • Loading branch information
daknhh authored Mar 23, 2022
2 parents 3e7ce56 + d6b3aa5 commit 2069af7
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions lib/plattform-wafv2-cdk-automation-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2069af7

Please sign in to comment.