Skip to content

Commit

Permalink
chore: update examples to use registry (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
bharathkkb authored Dec 19, 2023
1 parent be144eb commit 734b693
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 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
3 changes: 2 additions & 1 deletion examples/shared_vpc_internal/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ resource "google_storage_bucket" "vault" {
}

module "vault_cluster" {
source = "../../modules/cluster"
source = "terraform-google-modules/vault/google//modules/cluster"
version = "~> 7.0"

project_id = var.service_project_id
host_project_id = var.host_project_id
Expand Down
4 changes: 2 additions & 2 deletions examples/vault-on-gce/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ provider "google" {
}

module "vault" {
// source = "terraform-google-modules/vault/google"
source = "terraform-google-modules/vault/google"
version = "~> 7.0"

source = "../../"
project_id = var.project_id
region = var.region

Expand Down

0 comments on commit 734b693

Please sign in to comment.