O'Reilly logo
  • MR ANDREW JAMES KENWARD thinks this is interesting:

> terraform remote config \ -backend=s3 \ -backend-config="bucket=(YOUR_BUCKET_NAME)" \ -backend-config="key=global/s3/terraform.tfstate" \ -backend-config="region=us-east-1" \ -backend-config="encrypt=true" Remote configuration updated Remote state configured and pulled.

From

Cover of Terraform: Up and Running

Note

Can add this as part of the file now see https://www.terraform.io/docs/backends/types/s3.html