Skip to content

Commit 36e423b

Browse files
Remove file upload feature flag
1 parent 9407410 commit 36e423b

8 files changed

Lines changed: 0 additions & 16 deletions

File tree

infra/deployments/forms/forms-admin/main.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ module "forms_admin" {
2828
enable_mailchimp_sync = var.forms_admin_settings.synchronize_to_mailchimp
2929
deploy_account_id = var.deploy_account_id
3030
repeatable_page_enabled = var.forms_admin_settings.repeatable_page_enabled
31-
file_upload = var.forms_admin_settings.file_upload
3231
vpc_id = data.terraform_remote_state.forms_environment.outputs.vpc_id
3332
vpc_cidr_block = data.terraform_remote_state.forms_environment.outputs.vpc_cidr_block
3433
private_subnet_ids = data.terraform_remote_state.forms_environment.outputs.private_subnet_ids

infra/deployments/forms/inputs.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ variable "forms_admin_settings" {
142142
govuk_app_domain = string
143143
synchronize_to_mailchimp = bool
144144
repeatable_page_enabled = bool
145-
file_upload = bool
146145
})
147146
nullable = false
148147
}

infra/deployments/forms/tfvars/dev.tfvars

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ forms_admin_settings = {
7979
govuk_app_domain = "integration.publishing.service.gov.uk"
8080
synchronize_to_mailchimp = false
8181
repeatable_page_enabled = true
82-
file_upload = true
8382
}
8483
forms_api_settings = {
8584
cpu = 256

infra/deployments/forms/tfvars/production.tfvars

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ forms_admin_settings = {
123123
govuk_app_domain = "publishing.service.gov.uk"
124124
synchronize_to_mailchimp = true
125125
repeatable_page_enabled = true
126-
file_upload = true
127126
}
128127
forms_api_settings = {
129128
cpu = 512

infra/deployments/forms/tfvars/staging.tfvars

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ forms_admin_settings = {
4444
govuk_app_domain = "staging.publishing.service.gov.uk"
4545
synchronize_to_mailchimp = false
4646
repeatable_page_enabled = true
47-
file_upload = true
4847
}
4948
forms_api_settings = {
5049
cpu = 256

infra/deployments/forms/tfvars/user-research.tfvars

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ forms_admin_settings = {
4242
govuk_app_domain = ""
4343
synchronize_to_mailchimp = false
4444
repeatable_page_enabled = true
45-
file_upload = true
4645
}
4746
forms_api_settings = {
4847
cpu = 256

infra/modules/forms-admin/main.tf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,6 @@ module "ecs_service" {
174174
{
175175
name = "SETTINGS__FEATURES__REPEATABLE_PAGE_ENABLED",
176176
value = var.repeatable_page_enabled
177-
},
178-
{
179-
name = "SETTINGS__FEATURES__FILE_UPLOAD",
180-
value = var.file_upload
181177
}
182178
]
183179

infra/modules/forms-admin/variables.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,6 @@ variable "repeatable_page_enabled" {
100100
default = false
101101
}
102102

103-
variable "file_upload" {
104-
type = bool
105-
description = "Enables the file upload answer type"
106-
default = false
107-
}
108-
109103
variable "enable_mailchimp_sync" {
110104
type = bool
111105
description = "Whether to synchronise the MailChimp mailing lists from the forms-admin user data"

0 commit comments

Comments
 (0)