Skip to content

Commit

Permalink
Removes feature flags
Browse files Browse the repository at this point in the history
  • Loading branch information
coilysiren committed Nov 22, 2024
1 parent f22ce42 commit 9329552
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 124 deletions.
3 changes: 0 additions & 3 deletions infra/app/app-config/feature_flags.tf

This file was deleted.

4 changes: 0 additions & 4 deletions infra/app/app-config/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ output "environments" {
value = local.environments
}

output "feature_flags" {
value = local.feature_flags
}

output "has_database" {
value = local.has_database
}
Expand Down
12 changes: 2 additions & 10 deletions infra/app/service/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,7 @@ module "service" {

extra_environment_variables = merge(
{
FEATURE_FLAGS_PROJECT = module.feature_flags.evidently_project_name
BUCKET_NAME = local.storage_config.bucket_name
BUCKET_NAME = local.storage_config.bucket_name
},
local.identity_provider_environment_variables,
local.service_config.extra_environment_variables
Expand All @@ -199,8 +198,7 @@ module "service" {

extra_policies = merge(
{
feature_flags_access = module.feature_flags.access_policy_arn,
storage_access = module.storage.access_policy_arn
storage_access = module.storage.access_policy_arn
},
module.app_config.enable_identity_provider ? {
identity_provider_access = module.identity_provider_client[0].access_policy_arn,
Expand All @@ -221,12 +219,6 @@ module "monitoring" {
incident_management_service_integration_url = module.app_config.has_incident_management_service && !local.is_temporary ? data.aws_ssm_parameter.incident_management_service_integration_url[0].value : null
}

module "feature_flags" {
source = "../../modules/feature-flags"
service_name = local.service_config.service_name
feature_flags = module.app_config.feature_flags
}

module "storage" {
source = "../../modules/storage"
name = local.storage_config.bucket_name
Expand Down
21 changes: 0 additions & 21 deletions infra/modules/feature-flags/access_policy.tf

This file was deleted.

21 changes: 0 additions & 21 deletions infra/modules/feature-flags/logs.tf

This file was deleted.

46 changes: 0 additions & 46 deletions infra/modules/feature-flags/main.tf

This file was deleted.

9 changes: 0 additions & 9 deletions infra/modules/feature-flags/outputs.tf

This file was deleted.

9 changes: 0 additions & 9 deletions infra/modules/feature-flags/variables.tf

This file was deleted.

1 change: 0 additions & 1 deletion infra/project-config/aws_services.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ locals {
"elasticbeanstalk",
"elasticloadbalancing",
"events",
"evidently",
"iam",
"kms",
"lambda",
Expand Down

0 comments on commit 9329552

Please sign in to comment.