#release-engineering - May 2019

evgmoskalenko
evgmoskalenkoover 7 years ago(edited)
Hello, Could you tell me please, how are you deploy services to the AWS? Just describe by Terraform the infrastructure in a separate repository?
evgmoskalenko
evgmoskalenkoover 7 years ago
Or describe the service in Terraform and put terraform code in the repository of the service?
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)over 7 years ago(edited)
@evgmoskalenko usually #1 - describe infrastructure in a separate repo. We do multi-account setup, one AWS account per environment (prod, staging, dev, testing etc.). Each environment/account is represented by a GitHub repo, which usually provides all the variables (from Dockerfile, ENV vars, TF vars, etc.)
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)over 7 years ago
take a look here:
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)over 7 years ago
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)over 7 years ago
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)over 7 years ago
All TF code is in one central catalog that is reused across all repos https://github.com/cloudposse/terraform-root-modules
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)over 7 years ago
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)over 7 years ago
evgmoskalenko
evgmoskalenkoover 7 years ago
Thanks)))
cabrinha
cabrinhaover 7 years ago
What is the go-to or standard approach to SDLC for infrastructure code?
cabrinha
cabrinhaover 7 years ago
Anyone got some articles/docs? I'm also wondering what CloudPosse uses and suggests.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
@cabrinha i don't have it written down, but have lots and lots to say about it
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
if you want to join this wednesday office hours at 11:30 am
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
i'll share
cabrinha
cabrinhaover 7 years ago
👌 i'll try to make it to that, let me know if you throw a blog post out there in the meantime
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
we are on now
cabrinha
cabrinhaover 7 years ago
cant talk but will listen 👌