Skip to content

Commit

Permalink
Remove dead feature flags from azure terraform templates (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffpw-goog authored Jul 31, 2024
1 parent 40761b3 commit e3f7f80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 23 deletions.
7 changes: 2 additions & 5 deletions cloud/azure/templates/azure_saml_ses/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,8 @@ module "app" {
saml_keystore_storage_account_name = module.saml_keystore.storage_account_name
saml_keystore_storage_container_name = module.saml_keystore.storage_container_name

feature_flag_reporting_enabled = var.feature_flag_reporting_enabled
feature_flag_status_tracking_enabled = var.feature_flag_status_tracking_enabled
civiform_api_keys_ban_global_subnet = var.civiform_api_keys_ban_global_subnet
civiform_server_metrics_enabled = var.civiform_server_metrics_enabled
feature_flag_overrides_enabled = var.feature_flag_overrides_enabled
civiform_api_keys_ban_global_subnet = var.civiform_api_keys_ban_global_subnet
civiform_server_metrics_enabled = var.civiform_server_metrics_enabled
}

module "custom_hostname" {
Expand Down
18 changes: 0 additions & 18 deletions cloud/azure/templates/azure_saml_ses/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -125,18 +125,6 @@ variable "saml_keystore_container_name" {
default = "saml-keystore"
}

variable "feature_flag_reporting_enabled" {
type = bool
description = "Whether or not to enable the reporting feature"
default = false
}

variable "feature_flag_status_tracking_enabled" {
type = bool
description = "When set to true enable Status Tracking."
default = false
}

variable "civiform_api_keys_ban_global_subnet" {
type = bool
description = "Whether to allow 0.0.0.0/0 subnet for API key access."
Expand All @@ -148,9 +136,3 @@ variable "civiform_server_metrics_enabled" {
description = "Whether to enable exporting server metrics on the /metrics route."
default = false
}

variable "feature_flag_overrides_enabled" {
type = bool
description = "Whether feature flags can be override using /dev/feature/.../enable url."
default = false
}

0 comments on commit e3f7f80

Please sign in to comment.