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 Answers
1
Accepted Answer

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
EXPERT
iwasa
answered a year ago
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
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions