From fcf39abd6d279d9109f353a51753c0b613baaad0 Mon Sep 17 00:00:00 2001 From: Imran Nayer Date: Mon, 20 Nov 2023 21:31:42 -0600 Subject: [PATCH] chore: Update README.md (#136) --- modules/vpn_ha/README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/modules/vpn_ha/README.md b/modules/vpn_ha/README.md index 9c29733..a2ebf02 100644 --- a/modules/vpn_ha/README.md +++ b/modules/vpn_ha/README.md @@ -11,13 +11,14 @@ Current version is 1.0. Upgrade guides: - [1.X -> 2.0.](/docs/upgrading_to_vpn_v2.0.md) - [2.X -> 3.0.](/docs/upgrading_to_vpn_v3.0.md) +- [3.X -> 4.0.](/docs/upgrading_to_vpn_v4.0.md) ## Module Format ``` module "vpn_ha" { source = "terraform-google-modules/vpn/google//modules/vpn_ha" - version = "~> 3.0" + version = "~> 4.0" project_id = region = "us-central1" network = @@ -53,7 +54,7 @@ See section [peer_external_gateway](#peer_external_gateway) and [tunnels](#tunne ```hcl module "vpn_ha-1" { source = "terraform-google-modules/vpn/google//modules/vpn_ha" - version = "~> 1.3.0" + version = "~> 4.0" project_id = "" region = "europe-west4" network = "https://www.googleapis.com/compute/v1/projects//global/networks/network-1" @@ -93,7 +94,7 @@ module "vpn_ha-1" { module "vpn_ha-2" { source = "terraform-google-modules/vpn/google//modules/vpn_ha" - version = "~> 1.3.0" + version = "~> 4.0" project_id = "" region = "europe-west4" network = "https://www.googleapis.com/compute/v1/projects//global/networks/local-network" @@ -132,6 +133,7 @@ module "vpn_ha-2" { ```hcl module "vpn_ha" { source = "terraform-google-modules/vpn/google//modules/vpn_ha" + version = "~> 4.0" project_id = "" region = "europe-west4" network = "https://www.googleapis.com/compute/v1/projects//global/networks/my-network" @@ -190,7 +192,6 @@ module "vpn_ha" { ```hcl resource "google_compute_external_vpn_gateway" "external_gateway1" { - provider = google-beta name = "vpn-peering-gw1" project = "" redundancy_type = "SINGLE_IP_INTERNALLY_REDUNDANT" @@ -203,7 +204,6 @@ resource "google_compute_external_vpn_gateway" "external_gateway1" { } resource "google_compute_external_vpn_gateway" "external_gateway2" { - provider = google-beta name = "vpn-peering-gw2" project = "" redundancy_type = "SINGLE_IP_INTERNALLY_REDUNDANT" @@ -217,6 +217,7 @@ resource "google_compute_external_vpn_gateway" "external_gateway2" { module "vpn_ha" { source = "terraform-google-modules/vpn/google//modules/vpn_ha" + version = "~> 4.0" project_id = "" region = "europe-west4" network = "https://www.googleapis.com/compute/v1/projects//global/networks/my-network" @@ -598,7 +599,7 @@ module "vpn_ha" { ## Requirements ### Terraform plugins - [Terraform](https://www.terraform.io/downloads.html) 1.3+ -- [terraform-provider-google](https://github.com/terraform-providers/terraform-provider-google) plugin v4.64+ +- [terraform-provider-google](https://github.com/terraform-providers/terraform-provider-google) plugin v5.7+ ### Configure a Service Account In order to execute this module you must have a Service Account with the following roles: