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 3888e73 commit 6fa84e2
Show file tree
Hide file tree
Showing 5 changed files with 14 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']
- name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
id: 'bats'
args: ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && test_bats']
Expand Down
4 changes: 3 additions & 1 deletion examples/agent_policy_detailed_example/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

module "agent_policy_detailed" {
source = "./../../modules/agent-policy"
source = "terraform-google-modules/cloud-operations/google//modules/agent-policy"
version = "~> 0.4"

project_id = var.project_id
policy_id = "ops-agents-test-policy-detailed"
description = "an example policy description"
Expand Down
4 changes: 3 additions & 1 deletion examples/agent_policy_simple_example/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

module "agent_policy_simple" {
source = "./../../modules/agent-policy"
source = "terraform-google-modules/cloud-operations/google//modules/agent-policy"
version = "~> 0.4"

project_id = var.project_id
policy_id = "ops-agents-test-policy-simple"
agent_rules = [
Expand Down
4 changes: 3 additions & 1 deletion examples/agent_policy_update_example/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

module "agent_policy_update" {
source = "./../../modules/agent-policy"
source = "terraform-google-modules/cloud-operations/google//modules/agent-policy"
version = "~> 0.4"

project_id = var.project_id
policy_id = "ops-agents-test-policy-update"
description = var.description
Expand Down
3 changes: 2 additions & 1 deletion examples/https_uptime_url_check/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
*/

module "uptime-check" {
source = "./../../modules/simple-uptime-check"
source = "terraform-google-modules/cloud-operations/google//modules/simple-uptime-check"
version = "~> 0.4"

project_id = var.project_id
uptime_check_display_name = var.uptime_check_display_name
Expand Down

0 comments on commit 6fa84e2

Please sign in to comment.