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 99748c8 commit 6c9d2e9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 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: 1800s
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/advance/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ resource "google_project_iam_member" "main" {
Create a GPU Datalab instance
*****************************************/
module "datalab" {
source = "../../modules/instance"
source = "terraform-google-modules/datalab/google//modules/instance"
version = "~> 2.0"

project_id = var.project_id
name = "${var.name}-gpu"
zone = var.zone
Expand Down
3 changes: 2 additions & 1 deletion examples/basic/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ resource "google_compute_router_nat" "main" {
Create a default Datalab instance
*****************************************/
module "datalab" {
source = "../../modules/instance"
source = "terraform-google-modules/datalab/google//modules/instance"
version = "~> 2.0"
project_id = var.project_id
name = var.name
zone = var.zone
Expand Down

0 comments on commit 6c9d2e9

Please sign in to comment.