Skip to content

Commit

Permalink
update providers version and removed equinix developer version
Browse files Browse the repository at this point in the history
  • Loading branch information
Oscar Cobles committed Jun 30, 2021
1 parent 7941680 commit 0cb7650
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ After completing the lab you will be able to communicate from an virtual machine

Required steps to setup your environment for the lab:

* Install the developer version of the terraform Equinix provider. Check [Equinix provider development](https://github.com/equinix/terraform-provider-equinix/blob/master/DEVELOPMENT.md) for guides on building the provider.
* Install and setup Google Cloud SDK [Installing Google Cloud SDK](https://cloud.google.com/sdk/docs/install). Skip this step if you are using Google cloud shell.
* Install [jq for Linux](https://stedolan.github.io/jq/). Skip this step if you are using Google cloud shell.
* Create or import a key pair into AWS [AWS Create or import a key pair](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html#prepare-key-pair)
Expand Down
1 change: 1 addition & 0 deletions aws_dx.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ resource "aws_vpn_gateway" "aws-dx" {
Terraform = "true"
Project = lower(var.project_name)
Owner = lower(var.owner)
Name = format("%s-dx-vpg", lower(var.project_name))
}
}

Expand Down
2 changes: 1 addition & 1 deletion equinix_variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ variable eqx_fabric_aws_primary_connection_name {
}

variable eqx_fabric_aws_speed {
description = "speed for the Equinic Fabric connection, must be allowed by the platform and seller"
description = "speed for the Equinix Fabric connection, must be allowed by the platform and seller"
}

variable eqx_fabric_aws_speed_unit {
Expand Down
15 changes: 10 additions & 5 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,16 @@ terraform {
required_version = ">= 0.13"
required_providers {
equinix = {
source = "developer.equinix.com/terraform/equinix"
source = "equinix/equinix"
version = "1.1.0"
}
aws = {
source = "hashicorp/aws"
version = "~> 3.15.0"
}
google = {
source = "hashicorp/google"
version = "~> 3.48.0"
}
time = "~> 0.6.0"
}
Expand All @@ -18,16 +27,12 @@ provider "equinix" {
}

provider "aws" {
version = "~> 3.15.0"

access_key = var.aws_access_key
secret_key = var.aws_secret_key
region = var.aws_region
}

provider "google" {
version = "~> 3.48.0"

credentials = file(var.gcp_credentials_file_path)
project = var.gcp_project_id
region = var.gcp_region
Expand Down

0 comments on commit 0cb7650

Please sign in to comment.