File tree Expand file tree Collapse file tree 6 files changed +21
-9
lines changed
automatic-labelling-folder
automatic-labelling-from-localhost
automatic-labelling-from-repository Expand file tree Collapse file tree 6 files changed +21
-9
lines changed 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 @@ -20,7 +20,8 @@ resource "random_pet" "main" {
2020}
2121
2222module "event_folder_log_entry" {
23- source = " ../../modules/event-folder-log-entry"
23+ source = " terraform-google-modules/event-function/google//modules/event-folder-log-entry"
24+ version = " ~> 3.0"
2425
2526 filter = << EOF
2627resource.type="project" AND
3334}
3435
3536module "localhost_function" {
36- source = " ../.."
37+ source = " terraform-google-modules/event-function/google"
38+ version = " ~> 3.0"
3739
3840 description = " Labels resource with owner information."
3941 entry_point = " labelResource"
Original file line number Diff line number Diff line change @@ -19,15 +19,17 @@ resource "random_pet" "main" {
1919}
2020
2121module "event_project_log_entry" {
22- source = " ../../modules/event-project-log-entry"
22+ source = " terraform-google-modules/event-function/google//modules/event-project-log-entry"
23+ version = " ~> 3.0"
2324
2425 filter = " protoPayload.@type=\" type.googleapis.com/google.cloud.audit.AuditLog\" protoPayload.methodName:insert operation.first=true"
2526 name = random_pet. main . id
2627 project_id = var. project_id
2728}
2829
2930module "localhost_function" {
30- source = " ../.."
31+ source = " terraform-google-modules/event-function/google"
32+ version = " ~> 3.0"
3133
3234 description = " Labels resource with owner information."
3335 entry_point = " labelResource"
Original file line number Diff line number Diff line change @@ -40,15 +40,17 @@ resource "null_resource" "configure_repository" {
4040}
4141
4242module "event_project_log_entry" {
43- source = " ../../modules/event-project-log-entry"
43+ source = " terraform-google-modules/event-function/google//modules/event-project-log-entry"
44+ version = " ~> 3.0"
4445
4546 filter = " protoPayload.@type=\" type.googleapis.com/google.cloud.audit.AuditLog\" protoPayload.methodName:insert operation.first=true"
4647 name = random_pet. main . id
4748 project_id = var. project_id
4849}
4950
5051module "repository_function" {
51- source = " ../../modules/repository-function"
52+ source = " terraform-google-modules/event-function/google//modules/repository-function"
53+ version = " ~> 3.0"
5254
5355 description = " Labels resource with owner information."
5456 entry_point = " labelResource"
Original file line number Diff line number Diff line change @@ -32,15 +32,17 @@ resource "random_pet" "main" {
3232}
3333
3434module "event_project_log_entry" {
35- source = " ../../modules/event-project-log-entry"
35+ source = " terraform-google-modules/event-function/google//modules/event-project-log-entry"
36+ version = " ~> 3.0"
3637
3738 filter = " resource.type=\" gce_instance\" jsonPayload.event_subtype=\" compute.instances.insert\" jsonPayload.event_type=\" GCE_OPERATION_DONE\" "
3839 name = random_pet. main . id
3940 project_id = var. project_id
4041}
4142
4243module "localhost_function" {
43- source = " ../.."
44+ source = " terraform-google-modules/event-function/google"
45+ version = " ~> 3.0"
4446
4547 description = " Deletes VMs created with disks not encrypted with CMEK"
4648 entry_point = " ReceiveMessage"
Original file line number Diff line number Diff line change @@ -73,7 +73,8 @@ resource "local_file" "file" {
7373}
7474
7575module "localhost_function" {
76- source = " ../.."
76+ source = " terraform-google-modules/event-function/google"
77+ version = " ~> 3.0"
7778
7879 description = " Returns back the random file content"
7980 entry_point = " fileContent"
You can’t perform that action at this time.
0 commit comments