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 Antworten
1
Akzeptierte Antwort

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
EXPERTE
iwasa
beantwortet vor einem Jahr
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
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen