Skip to content

migrate用ecspresso configにservice定義が不足していたので追加 - #544

Merged
takayamaki merged 1 commit into
imastodonfrom
fix/migrate-network-config
May 24, 2026
Merged

migrate用ecspresso configにservice定義が不足していたので追加#544
takayamaki merged 1 commit into
imastodonfrom
fix/migrate-network-config

Conversation

@takayamaki

Copy link
Copy Markdown
Member

No description provided.

ecspresso run は awsvpc Fargate task の networkConfiguration を
service_definition から解決する仕様で、未定義だと register 成功後の
RunTask で「service_definition is not defined」エラーになる。

migrate は常駐サービスではないため deploy は叩かない前提で、
networkConfiguration / launchType の供給のみを目的とした最小の
service-def を置く。

セキュリティグループは sidekiq 用を流用した。postgres SG の受け入れ
側に既に sidekiq SG が登録済みなので、migrate 専用SGを切ると
terraform 変更と apply が連動する。RDSへの到達経路としては同等なので
新規SGを切るほどのメリットは無いと判断。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@takayamaki
takayamaki merged commit b1d020c into imastodon May 24, 2026
6 checks passed
@takayamaki
takayamaki deleted the fix/migrate-network-config branch May 24, 2026 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant