<instructions>Your goal is to analyze the following comment and estimate how highly it will be upvoted by the Hacker News community.</instructions><comment><author>liveoneggs</author><text>I store terraform state in s3 with dynamodb locking.  It looks like this:&lt;p&gt;&lt;pre&gt;&lt;code&gt;    #backend&amp;#x2F;state uses less priv keys
    terraform {
      backend &amp;quot;s3&amp;quot; {
        bucket     = &amp;quot;mystatebucketisunique-tf&amp;quot;
        key        = &amp;quot;states&amp;#x2F;tf&amp;#x2F;tf.tfstate&amp;quot;
        region     = &amp;quot;us-east-1&amp;quot;
        lock_table = &amp;quot;lock-tf&amp;quot;
        profile    = &amp;quot;aws_tf_s3-prof&amp;quot;
      }
    }

&lt;/code&gt;&lt;/pre&gt;
So for an entirely new env I have to setup that bucket and the dynamodb table</text><parent_chain><item><author>Dunedan</author><text>What I don&amp;#x27;t like about Terraform is that the state of your resources is stored locally, which might lead to consistency problems depending on your setup. With CloudFormation state is handled by CloudFormation itself, so you can be confident that stack updates operate on the latest state.</text></item><item><author>kokey</author><text>The only thing that spending time with Cloudformation teaches me is how much it makes me prefer doing things with Terraform.  I think Cloudformation is considerably better than nothing and it was great when there were no alternatives, but that was a while ago.</text></item></parent_chain></comment><story><title>Two years with CloudFormation: lessons learned</title><url>https://sanderknape.com/2018/08/two-years-with-cloudformation-lessons-learned/</url></story>
<instructions>Your goal is to analyze the following comment and estimate how highly it will be upvoted by the Hacker News community.</instructions><comment><author>artellectual</author><text>You can store the state remotely there are many options for state storage too. You can use s3 or dynamo db or even create your own web service that accepts web hooks from terraform.</text><parent_chain><item><author>Dunedan</author><text>What I don&amp;#x27;t like about Terraform is that the state of your resources is stored locally, which might lead to consistency problems depending on your setup. With CloudFormation state is handled by CloudFormation itself, so you can be confident that stack updates operate on the latest state.</text></item><item><author>kokey</author><text>The only thing that spending time with Cloudformation teaches me is how much it makes me prefer doing things with Terraform.  I think Cloudformation is considerably better than nothing and it was great when there were no alternatives, but that was a while ago.</text></item></parent_chain></comment><story><title>Two years with CloudFormation: lessons learned</title><url>https://sanderknape.com/2018/08/two-years-with-cloudformation-lessons-learned/</url></story>