From 502e832a6810b8ec99c25203a1a700452029c743 Mon Sep 17 00:00:00 2001 From: Andreas Wittig Date: Wed, 17 Apr 2024 21:33:10 +0200 Subject: [PATCH] Wait for web service to run database init/migration --- mastodon.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mastodon.yaml b/mastodon.yaml index f3b7901..56a0e86 100644 --- a/mastodon.yaml +++ b/mastodon.yaml @@ -223,6 +223,8 @@ Resources: ExecuteCommand: true TemplateURL: './node_modules/@cfn-modules/fargate-service/module.yml' StreamingApiService: + DependsOn: + - WebService Type: 'AWS::CloudFormation::Stack' Properties: Parameters: @@ -296,6 +298,8 @@ Resources: ExecuteCommand: true TemplateURL: './node_modules/@cfn-modules/fargate-service/module.yml' SidekiqService: + DependsOn: + - WebService Type: 'AWS::CloudFormation::Stack' Properties: Parameters: @@ -367,6 +371,8 @@ Resources: ExecuteCommand: true TemplateURL: './node_modules/@cfn-modules/fargate-service/module.yml' ScheduledTask: + DependsOn: + - WebService Type: 'AWS::CloudFormation::Stack' Properties: Parameters: