diff --git a/build/int.cloudbuild.yaml b/build/int.cloudbuild.yaml index 3a20837..89e4f70 100644 --- a/build/int.cloudbuild.yaml +++ b/build/int.cloudbuild.yaml @@ -13,6 +13,9 @@ # limitations under the License. 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'] diff --git a/examples/simple_example/main.tf b/examples/simple_example/main.tf index 1df2df8..3d5941c 100644 --- a/examples/simple_example/main.tf +++ b/examples/simple_example/main.tf @@ -15,7 +15,9 @@ */ module "kms" { - source = "../.." + source = "terraform-google-modules/kms/google" + version = "~> 2.0" + project_id = var.project_id keyring = var.keyring location = var.location