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 ca5ef9f commit 453e2a5
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 5 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: 7200s
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 && sleep 120']
Expand Down
3 changes: 2 additions & 1 deletion examples/security-policy-all/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ resource "random_id" "suffix" {
byte_length = 4
}
module "cloud_armor" {
source = "../../"
source = "GoogleCloudPlatform/cloud-armor/google"
version = "~> 2.0"

project_id = var.project_id
name = "test-casp-policy-${random_id.suffix.hex}"
Expand Down
3 changes: 2 additions & 1 deletion examples/security-policy-edge/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ resource "random_id" "suffix" {
byte_length = 4
}
module "cloud_armor" {
source = "../../"
source = "GoogleCloudPlatform/cloud-armor/google"
version = "~> 2.0"

project_id = var.project_id
name = "test-casp-edge-policy-${random_id.suffix.hex}"
Expand Down
3 changes: 2 additions & 1 deletion examples/security-policy-managed-protection-plus/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ resource "random_id" "suffix" {
byte_length = 4
}
module "cloud_armor" {
source = "../../"
source = "GoogleCloudPlatform/cloud-armor/google"
version = "~> 2.0"

project_id = var.project_id
name = "test-camp-policy-${random_id.suffix.hex}"
Expand Down
3 changes: 2 additions & 1 deletion examples/security-policy-recaptcha/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ resource "random_id" "suffix" {
}

module "cloud_armor" {
source = "../../"
source = "GoogleCloudPlatform/cloud-armor/google"
version = "~> 2.0"

project_id = var.project_id
name = "test-policy-recaptcha-${random_id.suffix.hex}"
Expand Down
3 changes: 2 additions & 1 deletion examples/simple-example/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ resource "random_id" "suffix" {
}

module "cloud_armor" {
source = "../../"
source = "GoogleCloudPlatform/cloud-armor/google"
version = "~> 2.0"

project_id = var.project_id
name = "test-casp-policy-${random_id.suffix.hex}"
Expand Down

0 comments on commit 453e2a5

Please sign in to comment.