3 ms·
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 ca
by doliveira 7y ago
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
- scarface74 7y agoYes it can run external commands via custom resources.
- doliveira 7y agoTerraform allows you to call an arbitrary shell command in you machine, not just trigger some webhook.
- scarface74 7y agoWhat is the practical difference between “calling an arbitrary shell command” and “calling an arbitrary lambda”?
- doliveira 7y agoHonestly I don't even know how to respond to such a comment. Let's just leave it at that.
- scarface74 7y agoYes because in scenario 1 your running code that you write outside of the template and in scenario two you’re calling out custom code....