Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
Increased firewallRetryAttempts to 12 (total 1 minute wait) as 25seco…
Browse files Browse the repository at this point in the history
…nds often times out
  • Loading branch information
JakeGinnivan committed Nov 1, 2022
1 parent fe5913c commit ef115b5
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 23 deletions.
5 changes: 5 additions & 0 deletions .changeset/proud-books-perform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@arkahna/nx-terraform': patch
---

Increased firewallRetryAttempts to 12 (total 1 minute wait) as 25seconds often times out
8 changes: 5 additions & 3 deletions libs/nx-terraform/src/executors/apply/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"firewallRetryAttempts": {
"type": "integer",
"description": "Number of times to retry adding the firewall exception for the current ip to the environment keyvault",
"default": 5
"default": 12
},
"firewallRetryDelay": {
"type": "integer",
Expand All @@ -67,5 +67,7 @@
"description": "Leave firewall exceptions in place after apply"
}
},
"required": ["environment"]
}
"required": [
"environment"
]
}
8 changes: 5 additions & 3 deletions libs/nx-terraform/src/executors/destroy/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"firewallRetryAttempts": {
"type": "integer",
"description": "Number of times to retry adding the firewall exception for the current ip to the environment keyvault",
"default": 5
"default": 12
},
"firewallRetryDelay": {
"type": "integer",
Expand All @@ -63,5 +63,7 @@
"description": "Run the Destroy action without user prompt for approval"
}
},
"required": ["environment"]
}
"required": [
"environment"
]
}
8 changes: 5 additions & 3 deletions libs/nx-terraform/src/executors/force-unlock/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@
"firewallRetryAttempts": {
"type": "integer",
"description": "Number of times to retry adding the firewall exception for the current ip to the environment keyvault",
"default": 5
"default": 12
},
"firewallRetryDelay": {
"type": "integer",
"description": "Delay in seconds between firewall retry attempts",
"default": 5
}
},
"required": ["environment"]
}
"required": [
"environment"
]
}
8 changes: 5 additions & 3 deletions libs/nx-terraform/src/executors/output/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@
"firewallRetryAttempts": {
"type": "integer",
"description": "Number of times to retry adding the firewall exception for the current ip to the environment keyvault",
"default": 5
"default": 12
},
"firewallRetryDelay": {
"type": "integer",
"description": "Delay in seconds between firewall retry attempts",
"default": 5
}
},
"required": ["environment"]
}
"required": [
"environment"
]
}
8 changes: 5 additions & 3 deletions libs/nx-terraform/src/executors/plan/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"firewallRetryAttempts": {
"type": "integer",
"description": "Number of times to retry adding the firewall exception for the current ip to the environment keyvault",
"default": 5
"default": 12
},
"firewallRetryDelay": {
"type": "integer",
Expand All @@ -64,5 +64,7 @@
"description": "The target resource to deploy"
}
},
"required": ["environment"]
}
"required": [
"environment"
]
}
14 changes: 10 additions & 4 deletions libs/nx-terraform/src/executors/state/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
"address": {
"type": "string",
"description": "The address of the resource",
"aliases": ["r", "p"]
"aliases": [
"r",
"p"
]
},
"environment": {
"type": "string",
Expand All @@ -30,7 +33,7 @@
"firewallRetryAttempts": {
"type": "integer",
"description": "Number of times to retry adding the firewall exception for the current ip to the environment keyvault",
"default": 5
"default": 12
},
"firewallRetryDelay": {
"type": "integer",
Expand All @@ -43,5 +46,8 @@
"default": false
}
},
"required": ["environment", "command"]
}
"required": [
"environment",
"command"
]
}
4 changes: 2 additions & 2 deletions libs/nx-terraform/src/executors/tf-init/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"firewallRetryAttempts": {
"type": "integer",
"description": "Number of times to retry adding the firewall exception for the current ip to the environment keyvault",
"default": 5
"default": 12
},
"firewallRetryDelay": {
"type": "integer",
Expand All @@ -41,4 +41,4 @@
}
},
"required": []
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"firewallRetryAttempts": {
"type": "integer",
"description": "Number of times to retry adding the firewall exception for the current ip to the environment keyvault",
"default": 5
"default": 12
},
"firewallRetryDelay": {
"type": "integer",
Expand All @@ -53,4 +53,4 @@
"required": [
"environmentName"
]
}
}

0 comments on commit ef115b5

Please sign in to comment.