Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions examples/cdn-policy/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,5 @@ terraform {
google-beta = {
source = "hashicorp/google-beta"
}
template = {
source = "hashicorp/template"
}
}
}
3 changes: 0 additions & 3 deletions examples/certificate-map/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ terraform {
random = {
source = "hashicorp/random"
}
template = {
source = "hashicorp/template"
}
tls = {
source = "hashicorp/tls"
}
Expand Down
3 changes: 0 additions & 3 deletions examples/cross-project-mig-backend/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,5 @@ terraform {
google-beta = {
source = "hashicorp/google-beta"
}
template = {
source = "hashicorp/template"
}
}
}
12 changes: 3 additions & 9 deletions examples/https-redirect/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,6 @@ module "cloud-nat" {
name = "cloud-nat-lb-https-redirect"
}

data "template_file" "group-startup-script" {
template = file(format("%s/gceme.sh.tpl", path.module))

vars = {
PROXY_PATH = ""
}
}

module "mig_template" {
source = "terraform-google-modules/vm/google//modules/instance_template"
version = "~> 12.0"
Expand All @@ -70,7 +62,9 @@ module "mig_template" {
name_prefix = var.network_name
source_image_family = "ubuntu-2204-lts"
source_image_project = "ubuntu-os-cloud"
startup_script = data.template_file.group-startup-script.rendered
startup_script = templatefile(format("%s/gceme.sh.tpl", path.module), {
PROXY_PATH = ""
})
tags = [
var.network_name,
module.cloud-nat.router_name
Expand Down
3 changes: 0 additions & 3 deletions examples/https-redirect/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ terraform {
google-beta = {
source = "hashicorp/google-beta"
}
template = {
source = "hashicorp/template"
}
tls = {
source = "hashicorp/tls"
}
Expand Down
3 changes: 0 additions & 3 deletions examples/lb-http-separate-frontend-and-backend/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,5 @@ terraform {
google-beta = {
source = "hashicorp/google-beta"
}
template = {
source = "hashicorp/template"
}
}
}
12 changes: 3 additions & 9 deletions examples/mig-nat-http-lb/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,6 @@ module "cloud-nat" {
name = "cloud-nat-lb-http-router"
}

data "template_file" "group-startup-script" {
template = file(format("%s/gceme.sh.tpl", path.module))

vars = {
PROXY_PATH = ""
}
}

module "mig_template" {
source = "terraform-google-modules/vm/google//modules/instance_template"
version = "~> 12.0"
Expand All @@ -68,7 +60,9 @@ module "mig_template" {
scopes = ["cloud-platform"]
}
name_prefix = var.network_name
startup_script = data.template_file.group-startup-script.rendered
startup_script = templatefile(format("%s/gceme.sh.tpl", path.module), {
PROXY_PATH = ""
})
tags = [
var.network_name,
module.cloud-nat.router_name
Expand Down
3 changes: 0 additions & 3 deletions examples/mig-nat-http-lb/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,5 @@ terraform {
google-beta = {
source = "hashicorp/google-beta"
}
template = {
source = "hashicorp/template"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ terraform {
random = {
source = "hashicorp/random"
}
template = {
source = "hashicorp/template"
}
tls = {
source = "hashicorp/tls"
}
Expand Down
3 changes: 0 additions & 3 deletions examples/multi-mig-http-lb/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,5 @@ terraform {
google-beta = {
source = "hashicorp/google-beta"
}
template = {
source = "hashicorp/template"
}
}
}
3 changes: 0 additions & 3 deletions examples/multiple-certs/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ terraform {
random = {
source = "hashicorp/random"
}
template = {
source = "hashicorp/template"
}
tls = {
source = "hashicorp/tls"
}
Expand Down
3 changes: 0 additions & 3 deletions examples/shared-vpc/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,5 @@ terraform {
google-beta = {
source = "hashicorp/google-beta"
}
template = {
source = "hashicorp/template"
}
}
}
3 changes: 0 additions & 3 deletions examples/user-managed-google-managed-ssl/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ terraform {
random = {
source = "hashicorp/random"
}
template = {
source = "hashicorp/template"
}
tls = {
source = "hashicorp/tls"
}
Expand Down