Skip to content

Commit

Permalink
fix(build_stac): Realign task names
Browse files Browse the repository at this point in the history
  • Loading branch information
ividito committed Nov 13, 2023
1 parent 46f000b commit 1626038
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dags/veda_data_pipeline/groups/processing_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def subdag_process():
overrides={
"containerOverrides": [
{
"name": f"{mwaa_stack_conf.get('PREFIX')}-veda-stac-build",
"name": f"{mwaa_stack_conf.get('PREFIX')}-veda-build_stac",
"command": [
"/usr/local/bin/python",
"handler.py",
Expand Down Expand Up @@ -82,7 +82,7 @@ def subdag_process():
},
},
awslogs_group=mwaa_stack_conf.get("LOG_GROUP_NAME"),
awslogs_stream_prefix=f"ecs/{mwaa_stack_conf.get('PREFIX')}-veda-stac-build", # prefix with container name
awslogs_stream_prefix=f"ecs/{mwaa_stack_conf.get('PREFIX')}-veda-build_stac", # prefix with container name
)
submit_to_stac_ingestor = PythonOperator(
task_id="submit_to_stac_ingestor",
Expand Down
5 changes: 5 additions & 0 deletions infrastructure/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion infrastructure/task_definition.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ resource "aws_ecs_task_definition" "veda_task_definition" {
container_definitions = jsonencode([

{
name = "${var.prefix}-veda-stac-build"
name = "${var.prefix}-veda-build_stac"
image = "${local.account_id}.dkr.ecr.${local.aws_region}.amazonaws.com/${var.prefix}-veda-build_stac"
essential = true,
logConfiguration = {
Expand Down

0 comments on commit 1626038

Please sign in to comment.