Terraform Network Mirroring

This website is hosting the Terraform Providers for AWS and null which can be used as a download location for terraform

How to:

- Create a file called terraformrc-configuration

- Add the following contents

provider_installation {
  network_mirror {
    url = "https://patrick-tfe3-client.tf-support.hashicorpdemo.com/"
  }
}

- set your environment variable TF_CLI_CONFIG_FILE to the location of this file

export TF_CLI_CONFIG_FILE="$HOME/terraformrc-configuration"

- Have some code in main.tf file

resource "null" "test" {}

- Initialize the code using terraform init

terraform init

- The provider should now be downloaded from this website