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

2 Respostas
1
Resposta aceita

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
ESPECIALISTA
iwasa
respondido há um ano
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 há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas