Skip to content

Commit

Permalink
fix: add pttr for dynamodb and extra clone env for custom ssm condition
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdan-1337 authored and rdig committed May 28, 2024
1 parent 97d7c66 commit 53a7c8c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 10 deletions.
3 changes: 2 additions & 1 deletion amplify/backend/api/colonycdapp/parameters.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"AppSyncApiName": "colonycdapp",
"DynamoDBBillingMode": "PAY_PER_REQUEST",
"DynamoDBEnableServerSideEncryption": false
"DynamoDBEnableServerSideEncryption": false,
"DynamoDBEnablePointInTimeRecovery": "true"
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,24 @@
}
},
"Conditions": {
"IsQaEnv": {
"Fn::Equals": [
"IsQaOrClonedEnv": {
"Fn::Or": [
{
"Ref": "env"
"Fn::Equals": [
{
"Ref": "env"
},
"qaarbsep"
]
},
"qaarbsep"
{
"Fn::Equals": [
{
"Ref": "env"
},
"qaarbsepcl"
]
}
]
}
},
Expand All @@ -25,7 +37,7 @@
"Type": "String",
"Value": {
"Fn::If": [
"IsQaEnv",
"IsQaOrClonedEnv",
"arbitrumSepolia",
"arbitrumOne"
]
Expand All @@ -42,7 +54,7 @@
"Type": "String",
"Value": {
"Fn::If": [
"IsQaEnv",
"IsQaOrClonedEnv",
"https://arbitrum-sepolia.core.chainstack.com/5ee6818452437d552323df146564523d",
"https://arbitrum-mainnet.core.chainstack.com/09365a049b04d0d7f3e3d40f97c18f2d"
]
Expand All @@ -59,7 +71,7 @@
"Type": "String",
"Value": {
"Fn::If": [
"IsQaEnv",
"IsQaOrClonedEnv",
"0x7777494e3d8cce0D3570E21FEf820F9Fee077777",
"0xcccccdcc0ccf6c708d860e19353c5f9a49accccc"
]
Expand All @@ -76,7 +88,7 @@
"Type": "String",
"Value": {
"Fn::If": [
"IsQaEnv",
"IsQaOrClonedEnv",
"https://arbitrum-sepolia.colony.io/reputation/arbitrum-sepolia",
"https://app.colony.io/reputation/arbitrum-one"
]
Expand All @@ -93,7 +105,7 @@
"Type": "String",
"Value": {
"Fn::If": [
"IsQaEnv",
"IsQaOrClonedEnv",
"https://wmc3qb57g5cnhhpok2bvdhmism.appsync-api.eu-west-2.amazonaws.com/graphql",
"https://o4mnvckgrjhanhdnspfchnl6py.appsync-api.eu-west-2.amazonaws.com/graphql"
]
Expand Down

0 comments on commit 53a7c8c

Please sign in to comment.