Is there an CLI option with aws codecatalyst to create repositories

0

Is there a method to create a repository in a codecatalyst project via CLI? I can't see one documented

profile picture
preguntada hace un año271 visualizaciones
2 Respuestas
1
Respuesta aceptada

Hi, @Simon.

Some Amazon CodeCatalyst operations are also provided in the CLI.
CreateSourceRepositoryBranch is an action on repositories. can you use this?

version 1.27.21+
https://docs.aws.amazon.com/cli/latest/reference/codecatalyst/index.html

You can operate the repository with the following command.

https://docs.aws.amazon.com/cli/latest/reference/codecatalyst/create-source-repository-branch.html

However, it is not possible to create a new repository itself. It is possible to create a branch into an existing repository.
I have summarized my findings in the following article. (Sorry in Japanese. Please translate.)

https://dev.classmethod.jp/articles/amazon-codecatalyst-cli/

profile picture
EXPERTO
iwasa
respondido hace un año
1

As the API documentation here (https://docs.aws.amazon.com/codecatalyst/latest/APIReference/Welcome.html) does not support creating repositories right now, iwasa is completely right: there is no possibility right now to create repositories in an automated fashion.

Regards Johannes

profile picture
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas