Skip to content

Commit

Permalink
chore: update examples to use registry
Browse files Browse the repository at this point in the history
  • Loading branch information
bharathkkb committed Dec 18, 2023
1 parent 8e50e93 commit 6e2d4b9
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 4 deletions.
3 changes: 3 additions & 0 deletions build/int.cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@

timeout: 3600s
steps:
- id: swap-module-refs
name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
args: ['module-swapper']
- id: prepare
name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
args: ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && prepare_environment']
Expand Down
4 changes: 3 additions & 1 deletion examples/bastion_group/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

module "iap_bastion_group" {
source = "../../modules/bastion-group"
source = "terraform-google-modules/bastion-host/google//modules/bastion-group"
version = "~> 6.0"

project = var.project_id
region = "us-west1"
zone = "us-west1-a"
Expand Down
4 changes: 3 additions & 1 deletion examples/iap_tunneling/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ resource "google_project_iam_member" "os_login_bindings" {
}

module "iap_tunneling" {
source = "../../modules/iap-tunneling"
source = "terraform-google-modules/bastion-host/google//modules/iap-tunneling"
version = "~> 6.0"

fw_name_allow_ssh_from_iap = "test-allow-ssh-from-iap-to-tunnel"
project = var.project_id
network = google_compute_network.network.self_link
Expand Down
4 changes: 3 additions & 1 deletion examples/simple_example/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

module "iap_bastion" {
source = "../.."
source = "terraform-google-modules/bastion-host/google"
version = "~> 6.0"

project = var.project_id
zone = "us-west1-a"
network = google_compute_network.network.self_link
Expand Down
4 changes: 3 additions & 1 deletion examples/two_service_example/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ provider "google" {
}

module "iap_bastion" {
source = "../.."
source = "terraform-google-modules/bastion-host/google"
version = "~> 6.0"

project = var.project
subnet = var.subnet
network = var.network
Expand Down

0 comments on commit 6e2d4b9

Please sign in to comment.