File tree Expand file tree Collapse file tree 9 files changed +27
-12
lines changed
gcs_event_arc_trigger_workflow
pubsub_event_arc_trigger_workflow
schedule_workflow_autocreate_sa
schedule_workflow_with_arguments Expand file tree Collapse file tree 9 files changed +27
-12
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ The resources/services/activations/deletions that this module will create/trigge
1313
1414``` hcl
1515module "cloud_workflow" {
16- source = "terraform-google-modules /cloud-workflow /google"
16+ source = "GoogleCloudPlatform /cloud-workflows /google"
1717 version = "~> 0.1"
1818
1919 workflow_name = "wf-sample"
5252
5353``` hcl
5454module "cloud_workflow" {
55- source = "terraform-google-modules /cloud-workflow /google"
55+ source = "GoogleCloudPlatform /cloud-workflows /google"
5656 version = "~> 0.1"
5757
5858 workflow_name = "wf-sample"
Original file line number Diff line number Diff line change 1414
1515timeout : 3600s
1616steps :
17+ - id : swap-module-refs
18+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
19+ args : ['module-swapper']
1720- id : prepare
1821 name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
1922 args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && prepare_environment']
Original file line number Diff line number Diff line change @@ -85,7 +85,9 @@ module "gcs_buckets" {
8585}
8686
8787module "cloud_workflow" {
88- source = " ../.."
88+ source = " GoogleCloudPlatform/cloud-workflows/google"
89+ version = " ~> 0.1"
90+
8991 project_id = var. project_id
9092 workflow_name = " wf-gcs-eventarc"
9193 region = " us-central1"
Original file line number Diff line number Diff line change @@ -32,7 +32,9 @@ module "service_account" {
3232}
3333
3434module "cloud_workflow" {
35- source = " ../.."
35+ source = " GoogleCloudPlatform/cloud-workflows/google"
36+ version = " ~> 0.1"
37+
3638 project_id = var. project_id
3739 workflow_name = " wf-pubsub-eventarc"
3840 region = " us-central1"
Original file line number Diff line number Diff line change @@ -27,7 +27,9 @@ module "service_account" {
2727}
2828
2929module "cloud_workflow" {
30- source = " ../.."
30+ source = " GoogleCloudPlatform/cloud-workflows/google"
31+ version = " ~> 0.1"
32+
3133 project_id = var. project_id
3234 workflow_name = " wf-sample"
3335 region = " us-central1"
Original file line number Diff line number Diff line change @@ -18,7 +18,9 @@ data "google_compute_default_service_account" "default" {
1818}
1919
2020module "cloud_workflow" {
21- source = " ../.."
21+ source = " GoogleCloudPlatform/cloud-workflows/google"
22+ version = " ~> 0.1"
23+
2224 project_id = var. project_id
2325 workflow_name = " wf-sample-with-sa"
2426 region = " us-central1"
Original file line number Diff line number Diff line change @@ -27,7 +27,9 @@ module "service_account" {
2727}
2828
2929module "cloud_workflow" {
30- source = " ../.."
30+ source = " GoogleCloudPlatform/cloud-workflows/google"
31+ version = " ~> 0.1"
32+
3133 project_id = var. project_id
3234 workflow_name = " wf-sample-with-args"
3335 region = " us-central1"
Original file line number Diff line number Diff line change @@ -18,11 +18,12 @@ module "project" {
1818 source = " terraform-google-modules/project-factory/google"
1919 version = " ~> 13.0"
2020
21- name = " ci-cloud-workflow"
22- random_project_id = " true"
23- org_id = var. org_id
24- folder_id = var. folder_id
25- billing_account = var. billing_account
21+ name = " ci-cloud-workflow"
22+ random_project_id = " true"
23+ org_id = var. org_id
24+ folder_id = var. folder_id
25+ billing_account = var. billing_account
26+ default_service_account = " keep"
2627
2728 activate_apis = [
2829 " iam.googleapis.com" ,
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ terraform {
2323 }
2424
2525 random = {
26+ source = " hashicorp/random"
2627 version = " ~> 3.4.3"
2728 }
2829 }
You can’t perform that action at this time.
0 commit comments