From 4900e1115d24be4f6aafb1cdf9a3230f44164697 Mon Sep 17 00:00:00 2001 From: "nik.n" Date: Thu, 15 Feb 2024 16:45:46 +0900 Subject: [PATCH] =?UTF-8?q?=E6=8C=87=E6=91=98=E5=86=85=E5=AE=B9=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=E5=AF=BE=E5=BF=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../r-export-dbdump-state.json | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/stepfunctions/r-export-dbdump-state/r-export-dbdump-state.json b/stepfunctions/r-export-dbdump-state/r-export-dbdump-state.json index 00bf15e0..d3cfb4a1 100644 --- a/stepfunctions/r-export-dbdump-state/r-export-dbdump-state.json +++ b/stepfunctions/r-export-dbdump-state/r-export-dbdump-state.json @@ -6,13 +6,10 @@ "Comment": "パラメータ設定", "Type": "Pass", "Parameters": { - "sns": { - "TopicArn": "arn:aws:sns:#{REGION_AP_NORTHEAST_1}:#{AWS_ACCOUNT_ID}:mbj-notice-#{ENV_NAME}" - }, "ecs": { "LaunchType": "FARGATE", "Cluster": "arn:aws:ecs:#{REGION_AP_NORTHEAST_1}:#{AWS_ACCOUNT_ID}:cluster/mbj-newdwh2021-#{ENV_NAME}-export-dbdump-ecs", - "TaskDefinition": "ExportDatabaseDump", + "TaskDefinition": "mbj-newdwh2021-#{ENV_NAME}-export-task-dbdump", "NetworkConfiguration": { "AwsvpcConfiguration": { "Subnets": [ @@ -29,15 +26,15 @@ "Overrides": { "ContainerOverrides": [ { - "Name.$": "$.InputParams.ContainerName", + "Name": "mbj-newdwh2021-#{ENV_NAME}-export-task-dbdump", "Environment": [ { "Name": "DB_SCHEMA", - "Value.$": "$.params.eventBridge.DB_SCHEMA" + "Value.$": "$.db_schema" }, { "Name": "DUMP_BACKUP_BUCKET", - "Value.$": "$.params.eventBridge.DUMP_BACKUP_BUCKET" + "Value.$": "$.dump_backup_bucket" } ] } @@ -46,9 +43,9 @@ } }, "ResultPath": "$.params", - "Next": "export-dbdump" + "Next": "exec-export-dbdump" }, - "export-dbdump": { + "exec-export-dbdump": { "Type": "Task", "Resource": "arn:aws:states:::ecs:runTask.sync", "Parameters": {