3 ms·
are you not mixing infrastructure deployment and application deployment? terraform is not the tool for the later, an ansible stack would be better suited for i
by gchamonlive 6y ago
are you not mixing infrastructure deployment and application deployment?
terraform is not the tool for the later, an ansible stack would be better suited for it
- devonkim 6y agoOnce upon a time people would put applications delivered baked into AMIs as a deployment approach. Using a combination of CloudFormation metadata, Cloudwatch Alarms, cfn-init, and other tools applications could be deployed end to end with a single tool immutably. Many people are stuck with this rather coupled approach because trying to pull it apart would take more effort than is worth to the business. In a lot of situations infrastructure deployment and configuration management is deeply coupled in the AWS ecosystem (DB changes, Serverless technically is changing your infrastructure definition as application changes).
- gchamonlive 6y agoindeed then terraform is probably not the right tool and cloudformation is a better suited solution
- devonkim 6y agoIt’s not an either/or situation for tools thankfully. The author of Terragrunt has even advocated before in a blogpost for using Terraform to deploy CloudFormation stacks to make changes to AutoScaling groups and perform blue-green deployment approaches.