Encryption in transit for Remote backend i.e. s3

252 views Asked by At

I can see lot of questions regarding encryption at rest for storing state file using remote backend in terraform e.g. s3, but like to confirm; Does terraform uses ssh/tls to securely transfer/read the state files during this process.

Though we can use TLS provider to achieve that but like the official version since i cannot find anything useful in the documentation.

1

There are 1 answers

2
Marcin On BEST ANSWER

TF has insecure option:

Explicitly allow the provider to perform "insecure" SSL requests. If omitted, the default value is false.

So by default, only https is used. You would have to set this option to true to enable http.