gcpのCloud Source Repositories(マネージドのgitプライベートリポジトリ)で、リポジトリを作成時に、"gcloud crashed (ArgumentTypeError)"エラーが出ることがあります。
$ gcloud source repos create "reponame.foo"
ERROR: gcloud crashed (ArgumentTypeError):
Bad value [reponame.foo]: repostory name may contain between 1 and 63 (inclusive) letters, digits, hyphens, and underscores.
これは、リポジトリ名に使用できない文字(上記の例だと「.」ピリオド)を使っているためです。エラーメッセージにあるように、gcpのCloud Source Repositoriesのリポジトリ名には、以下の制限があります。
- リポジトリ名は1~63文字まで
- アルファベット(a-zA-Z)、数字(0-9)、ハイフン(-)、アンダースコア(_)のみが使用可能
こちらもおススメ