Skip to content

Commit

Permalink
Update infra-app app to version v0.12.6-61-g7053f3d
Browse files Browse the repository at this point in the history
  • Loading branch information
nava-platform-bot committed Nov 27, 2024
1 parent 5ad5810 commit febd6e2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .template-infra/app-app.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier
_commit: v0.12.5-58-g856e8aa
_commit: v0.12.6-61-g7053f3d
_src_path: ../template-infra
app_has_dev_env_setup: true
app_local_port: 3000
Expand Down
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

1 comment on commit febd6e2

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report for app

St.
Category Percentage Covered / Total
🟢 Statements 93.1% 81/87
🟢 Branches 82.35% 14/17
🟢 Functions 93.33% 14/15
🟢 Lines 93.59% 73/78

Test suite run success

16 tests passing in 5 suites.

Report generated by 🧪jest coverage report action from febd6e2

Please sign in to comment.