6 ms·
Just be careful with your state file when upgrading!
by dablweb 5y ago
Just be careful with your state file when upgrading!
- heydonovan 5y agoI've gotten into the habit of manually creating a backup of the state file: # to view the state file $ aws s3 cp --quiet s3://terraform/production/terraform.tfstate /dev/stdout # to backup the state file $ aws s3 cp --quiet s3://terraform/production/terraform.tfstate > terraform.tfstate.bak
- cube2222 5y agoS3 automatic object versioning is useful for that.