October 2017
Intermediate to advanced
326 pages
7h 20m
English
A backend is a system that is going to store our status in a shared environment where everyone using the same configuration can quickly access it. Let's look at how is this done using Google Cloud Storage. Just execute the following command:
terraform remote config -backend=gcs -backend-config="bucket=my-terraform" -backend-config="path=terraform/infrastructure"
Here are a few considerations: we need to create a bucket called my-terraform in the Google Cloud Storage interface and we need to configure Application default credentials for Google Cloud. The easiest way to do this is by setting an environment variable called GOOGLE_APPLICATION_CREDENTIALS to the path where the xxx.json file that we have used to authenticate ...
Read now
Unlock full access