Better HN
topnewbestaskshowjobs
Log inSign up

cs_tiger4

11 karma · joined Jan 11, 2023 (3y ago) · 1 submissions

Submissions

comment 3y ago · link · parent

One killer feature of Infrastructure as Code, be it terraform or any other is idempotence.

You have to be careful not to run your bash script twice or you get another instance/vpc/loadbalancer or whatever.

You run "terraform apply" twice and it does nothing on the second run.

If you start implementing that in your shell scripts you start implementing terraform in bash.