2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

[AWSのECSのエラーを解決したお話] ValidationError: Member must satisfy regular expression pattern: [a-zA-Z][-a-zA-Z0-9]*

Posted at

はじめに

このエラーで調べるとヒットしなかったので書きました

同じエラーで困ってる方の助けになれば...

状況

AWSのECSでデプロイしようとした際のお話

docker-compose.ymlを設定し
docker context createでcontextを作成して
docker context useで設定し
docker compose upを実行した際のエラー

エラー内容

ValidationError: 1 validation error detected: Value 'wordpress-
recruit_website' at 'stackName' failed to satisfy constraint: 
Member must satisfy regular expression pattern: [a-zA-Z][-a-zA-Z0-9]*

解決

ValidationError ということで
自分のディレクトリ名にしてた'wordpress-recruit_website'に問題があったようです

アンダースコア をほかの文字に変えると直りました!

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?