Skip to content

Commit

Permalink
more logical legacy cur management (#1006)
Browse files Browse the repository at this point in the history
  • Loading branch information
iakov-aws authored Nov 8, 2024
1 parent 9ed5958 commit 3f8b4bf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cfn-templates/cid-cfn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Parameters:
Type: String
Default: '2.0'
AllowedValues: ["1.0", "2.0"]
Description: "We support 2 options: CUR 2.0 from DataExports stack managed by CID or CUR 1(Legacy)."
Description: "We support 2 options: CUR 2.0 from DataExports stack managed by CID or CUR 1(Legacy). When you switch to CUR2 consider KeepLegacyCURTable parameter to yes for keeping Legacy CUR table for migration period."
CURBucketPath:
Type: String
MinLength: 3
Expand Down Expand Up @@ -248,7 +248,9 @@ Conditions:
NeedCostIntelligenceDashboard: !Equals [ !Ref DeployCostIntelligenceDashboard, "yes" ]
NeedKPIDashboard: !Equals [ !Ref DeployKPIDashboard, "yes" ]
NeedTAODashboard: !Equals [ !Ref DeployTAODashboard, "yes" ]
NeedLegacyCUR: !Equals [!Ref KeepLegacyCURTable, "yes"]
NeedLegacyCUR: !Or
- !Equals [!Ref KeepLegacyCURTable, "yes"]
- !Equals [!Ref CURVersion, '1.0']
NeedComputeOptimizerDashboard: !Equals [ !Ref DeployComputeOptimizerDashboard, "yes" ]
UseCUR2:
Fn::And:
Expand Down

0 comments on commit 3f8b4bf

Please sign in to comment.