News for hackers. Stuff that matters.
Re:Terraform 0.12 by doliveira on Thursday May 23, 2019 @05:35AM (#19990040)
Well, if you don't follow the obvious advice of storing your state in a S3 bucket... If the idea of storing your state somewhere is so abhorrent for you, you can also tag your resources and import them with Ansible/Bash as per the obligatory CloudFormation workflow. Then your state becomes local-only. That's a pretty useless thing to do for purely ideological reasons, though: storing your state in a cloud-agnostic way is what allows being able to manage a Gitlab repo, a Cloudflare domain and AWS or GCP instances in the same tool. That is what the "multi-cloud" means.

If you are saying a nonsensical argument like "not IaC because it can't rollback" I can say CloudFormation is not IaC because it can't even import a local file to grab some values. Or run external commands

Re:Terraform 0.12 by scarface74 on Thursday May 23, 2019 @08:50AM (#19991192)
Yes it can run external commands via custom resources.
Re:Terraform 0.12 by doliveira on Thursday May 23, 2019 @08:54AM (#19991226)
Terraform allows you to call an arbitrary shell command in you machine, not just trigger some webhook.
Re:Terraform 0.12 by scarface74 on Thursday May 23, 2019 @09:02AM (#19991293)
What is the practical difference between “calling an arbitrary shell command” and “calling an arbitrary lambda”?
Re:Terraform 0.12 by doliveira on Thursday May 23, 2019 @09:09AM (#19991353)
Honestly I don't even know how to respond to such a comment. Let's just leave it at that.
Re:Terraform 0.12 by scarface74 on Thursday May 23, 2019 @09:22AM (#19991498)
Yes because in scenario 1 your running code that you write outside of the template and in scenario two you’re calling out custom code....