Skip to content

Commit 25ebd21

Browse files
committed
CCM-10152: SMS Nudge vars
1 parent 3d7e715 commit 25ebd21

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

infrastructure/terraform/components/api/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ No requirements.
1515
| <a name="input_default_tags"></a> [default\_tags](#input\_default\_tags) | A map of default tags to apply to all taggable resources within the component | `map(string)` | `{}` | no |
1616
| <a name="input_enable_backups"></a> [enable\_backups](#input\_enable\_backups) | Enable backups | `bool` | `false` | no |
1717
| <a name="input_environment"></a> [environment](#input\_environment) | The name of the tfscaffold environment | `string` | n/a | yes |
18+
| <a name="input_force_destroy"></a> [force\_destroy](#input\_force\_destroy) | Flag to force deletion of S3 buckets | `bool` | `false` | no |
1819
| <a name="input_force_lambda_code_deploy"></a> [force\_lambda\_code\_deploy](#input\_force\_lambda\_code\_deploy) | If the lambda package in s3 has the same commit id tag as the terraform build branch, the lambda will not update automatically. Set to True if making changes to Lambda code from on the same commit for example during development | `bool` | `false` | no |
1920
| <a name="input_group"></a> [group](#input\_group) | The group variables are being inherited from (often synonmous with account short-name) | `string` | n/a | yes |
2021
| <a name="input_kms_deletion_window"></a> [kms\_deletion\_window](#input\_kms\_deletion\_window) | When a kms key is deleted, how long should it wait in the pending deletion state? | `string` | `"30"` | no |

infrastructure/terraform/components/api/s3_test_letters.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module "s3bucket_test_letters" {
1010
component = var.component
1111

1212
acl = "private"
13-
force_destroy = var.force_s3_destroy
13+
force_destroy = var.force_destroy
1414
versioning = false
1515

1616
bucket_logging_target = {

infrastructure/terraform/components/api/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,9 @@ variable "ca_pem_filename" {
105105
description = "Filename for the CA truststore file within the s3 bucket"
106106
default = null
107107
}
108+
109+
variable "force_destroy" {
110+
type = bool
111+
description = "Flag to force deletion of S3 buckets"
112+
default = false
113+
}

0 commit comments

Comments
 (0)