指摘内容修正対応
This commit is contained in:
parent
08df459ed8
commit
4900e1115d
@ -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": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user