-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app: Update
template-infra:app
to version 0.15.2.post9.dev0+18437db
- Loading branch information
1 parent
8649f3c
commit 60180ea
Showing
3 changed files
with
27 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
locals { | ||
service_config = { | ||
service_name = "${var.app_name}-${var.environment}" | ||
region = var.default_region | ||
cpu = var.service_cpu | ||
memory = var.service_memory | ||
desired_instance_count = var.service_desired_instance_count | ||
enable_command_execution = var.enable_command_execution | ||
|
||
extra_environment_variables = merge( | ||
local.default_extra_environment_variables, | ||
var.service_override_extra_environment_variables | ||
) | ||
|
||
secrets = local.secrets | ||
|
||
file_upload_jobs = { | ||
for job_name, job_config in local.file_upload_jobs : | ||
# For job configs that don't define a source_bucket, add the source_bucket config property | ||
job_name => merge({ source_bucket = local.bucket_name }, job_config) | ||
} | ||
|
||
ephemeral_write_volumes = [] | ||
} | ||
} |