Skip to content

How to create infra with previously created manifest.yml file #2899

Answered by Lou1415926
gauravjeswani asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @gauravjeswani ! You want to deploy services with the same configurations as before, am I correct?

You can still run copilot app init to initialize an application as you did previously. Then, run copilot svc init. When asked for the service's name, put the same name as you have before - this information can be found in manifest's name field.

Copilot will check if the copilot/<service>/manifest.yml already exists, and won't overwrite it if it has. As a result, your previous configurations in the manifest will stay.

Next time when you run copilot svc deploy, Copilot will deploy the service using configurations in the manifest. Since it's the same manifest as before, the configuration …

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@gauravjeswani
Comment options

@Lou1415926
Comment options

@gauravjeswani
Comment options

@huanjani
Comment options

@gauravjeswani
Comment options

Answer selected by gauravjeswani
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants