This repository contains an example AWS-Azure-Google Cloud VPN architecture built using Terraform.
Create a configuration file at terraform.tfvars
containing values for the variables specified
in variables.tf
.
Initialize Terraform by running:
terraform init
Before running the build, obtain and configure AWS credentials with permissions to create all of the required infrastructure. Terraform is configured to load AWS credentials using the Default Credential Provider Chain.
Terraform requires Google Cloud credentials for a service account in your target project.
Obtain credentials for a service account with the required permissions and place them at
~/.config/gcloud/<project-id>.json
.
The build is configured to use Azure credentials from the CLI.
Log in using az login
, then optionally change your default subscription using
az account set --subscription="SUBSCRIPTION_ID"
.
Apply the Terraform changes to build the infrastructure:
terraform apply
These modules are made available under the Apache 2.0 license. Copyright © 2020 Silectis, Inc.