Skip to content

Commit

Permalink
chore: update examples to use registry (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
bharathkkb authored Dec 19, 2023
1 parent 761dcea commit 2f1e2cb
Show file tree
Hide file tree
Showing 4 changed files with 11 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/key_distributor/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
*/

module "distributor" {
source = "../../modules/key-distributor"
source = "terraform-google-modules/service-accounts/google//modules/key-distributor"
version = "~> 4.0"

project_id = var.project_id
public_key_file = var.public_key_file
Expand Down
4 changes: 3 additions & 1 deletion examples/multiple_service_accounts/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

module "service_accounts" {
source = "../.."
source = "terraform-google-modules/service-accounts/google"
version = "~> 4.0"

project_id = var.project_id
prefix = ""
names = ["test-first", "test-second"]
Expand Down
4 changes: 3 additions & 1 deletion examples/single_service_account/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

module "service_accounts" {
source = "../.."
source = "terraform-google-modules/service-accounts/google"
version = "~> 4.0"

project_id = var.project_id
prefix = var.prefix
names = ["single-account"]
Expand Down

0 comments on commit 2f1e2cb

Please sign in to comment.