Repeated error trying to setup CloudFormation git sync

0

Hi,

I'm trying to use the new "git sync" feature of CloudFormation and can't get it to work, using a GitHub connection. When I try to go through the "create stack" process through the web console, I keep getting the following error at the end of the process (replaced id's with ...'s) :

"RepoConfiguration already exists. Arn: arn:aws:codestar-connections:us-east-1:39..........:repository-link/25.......... (Service: CodeConnections; Status Code: 409; Error Code: ResourceAlreadyExistsException; Request ID: 928b703d-096e-4172-b3ec-7139a3cfac53; Proxy: null)"

If I look in https://us-east-1.console.aws.amazon.com/codesuite/settings/connections?region=us-east-1 I see the connection that was created during the "create stack" wizard. If I try again to create the stack, but pointing to the connection I see the error "No connection exists with the ARN: [connection ARN" in the drop-down box for "branch".

This isn't blocking me, but I wanted to try out this new feature.

Mike

asked 5 months ago186 views
1 Answer
0

Oof. Sorry about that! Well, since the repository link already exists, you can call the AWS CLI to finish the setup by hand:

https://docs.aws.amazon.com/cli/latest/reference/codestar-connections/create-sync-configuration.html

Hope you got unblocked, sorry for the late response!

answered 2 months 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