Skip to content

Commit 231efe8

Browse files
committed
CCM-8588 Add env var to enable proofing
1 parent bb380c1 commit 231efe8

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

infrastructure/terraform/components/app/module_backend_api.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ module "backend_api" {
1818
enable_backup = var.destination_vault_arn != null ? true : false
1919

2020
enable_letters = var.enable_letters
21-
enable_proofing = true
21+
enable_proofing = var.enable_proofing
2222
}

infrastructure/terraform/components/app/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,12 @@ variable "enable_letters" {
188188
default = false
189189
}
190190

191+
variable "enable_proofing" {
192+
type = string
193+
description = "Feature flag for proofing"
194+
default = false
195+
}
196+
191197
variable "observability_account_id" {
192198
type = string
193199
description = "The Observability Account ID that needs access"

infrastructure/terraform/modules/backend-api/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ No requirements.
1616
| <a name="input_dynamodb_kms_key_arn"></a> [dynamodb\_kms\_key\_arn](#input\_dynamodb\_kms\_key\_arn) | KMS Key ARN for encrypting DynamoDB data. If not given, a key will be created. | `string` | `""` | no |
1717
| <a name="input_enable_backup"></a> [enable\_backup](#input\_enable\_backup) | Enable Backups for the DynamoDB table? | `bool` | `true` | no |
1818
| <a name="input_enable_letters"></a> [enable\_letters](#input\_enable\_letters) | Enable letters feature flag | `bool` | n/a | yes |
19+
| <a name="input_enable_proofing"></a> [enable\_proofing](#input\_enable\_proofing) | Enable proofing feature flag | `bool` | n/a | yes |
1920
| <a name="input_environment"></a> [environment](#input\_environment) | The name of the tfscaffold environment | `string` | n/a | yes |
2021
| <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 |
2122
| <a name="input_kms_key_arn"></a> [kms\_key\_arn](#input\_kms\_key\_arn) | KMS Key ARN | `string` | n/a | yes |

0 commit comments

Comments
 (0)