News for hackers. Stuff that matters.
Re:AWS Copilot by drej on Wednesday July 15, 2020 @06:19AM (#23843283)
I probably missed it in the blogpost and github readme, but is there a good way to "export" this into a CloudFormation/Terraform template? After all, this seems to spawn a few things (networking, mostly), so I want to make sure I can automate any further deployments.

Thanks!

Re:AWS Copilot by jeremya on Wednesday July 15, 2020 @07:38AM (#23843804)
Copilot generates CloudFormation templates based on the Copilot-specific config files. There’s a place where you can add your own additional resources in CloudFormation syntax IIRC. It also has the ability to create a CodePipeline for app deployment. That creation is also done by generating a CloudFormation template and deploying it for the user. I’m not sure why it’s not clearly documented that this is happening, but it is a selling point to me because if I want to, I can “eject” from Copilot and just maintain/enhance the CloudFormation templates.
Re:AWS Copilot by Aeolun on Wednesday July 15, 2020 @08:51AM (#23844437)
I have a hard time believing anyone would consider ejecting to CloudFormation a selling point.
Re:AWS Copilot by llarsson on Wednesday July 15, 2020 @09:06AM (#23844599)
Could be nice to version control them. Some CLI stuff looks cool on a blog, but do you want to remember what commands you typed, and in what order, to bring up what production looked like two weeks ago manually?
Re:AWS Copilot by dkarl on Wednesday July 15, 2020 @09:36AM (#23845003)
It's a cautious way to start working with a new tool. It's AWS, but there will still be bugs, especially for people with large or unusual deployments. You could use the tool to generate CloudFormation configs and then put them through a PR process. After six months of this with no bogus configs generated by the tool, you might decide you're on a well-paved road and make it part of your CI/CD pipeline.
Re:AWS Copilot by kohidavez on Wednesday July 15, 2020 @02:11PM (#23849232)
Yea! You can run copilot svc package which spits out the CloudFormation for the service.