Skip to content

Commit beb6e91

Browse files
author
Sean Smith
committed
Disable Dynamo OnDemand in GovCloud regions
Signed-off-by: Sean Smith <[email protected]>
1 parent a84eb19 commit beb6e91

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

cloudformation/aws-parallelcluster.cfn.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1560,7 +1560,23 @@
15601560
"KeyType": "HASH"
15611561
}
15621562
],
1563-
"BillingMode": "PAY_PER_REQUEST"
1563+
"BillingMode": {
1564+
"Fn::If": [
1565+
"GovCloudRegion",
1566+
"PROVISIONED",
1567+
"PAY_PER_REQUEST"
1568+
]
1569+
},
1570+
"ProvisionedThroughput": {
1571+
"Fn::If": [
1572+
"GovCloudRegion",
1573+
{
1574+
"ReadCapacityUnits": 5,
1575+
"WriteCapacityUnits": 5
1576+
},
1577+
{ "Ref": "AWS::NoValue" }
1578+
]
1579+
}
15641580
}
15651581
},
15661582
"RootRole": {

0 commit comments

Comments
 (0)