File tree Expand file tree Collapse file tree
cloud_function2_gcs_source
cloud_function2_pubsub_trigger Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,11 +28,12 @@ resource "google_storage_bucket_object" "function-source" {
2828}
2929
3030module "cloud_functions2" {
31- source = " ../../"
31+ source = " GoogleCloudPlatform/cloud-functions/google"
32+ version = " ~> 0.7"
3233
3334 project_id = var. project_id
3435 function_name = " function2-gcs-source-py"
35- location = var. location
36+ function_location = var. location
3637 runtime = " python310"
3738 entrypoint = " hello_http"
3839 storage_source = {
Original file line number Diff line number Diff line change @@ -36,11 +36,12 @@ module "pubsub" {
3636}
3737
3838module "cloud_functions2" {
39- source = " ../../"
39+ source = " GoogleCloudPlatform/cloud-functions/google"
40+ version = " ~> 0.7"
4041
4142 project_id = var. project_id
4243 function_name = " function2-pubsub-trigger-py"
43- location = var. location
44+ function_location = var. location
4445 runtime = " python310"
4546 entrypoint = " hello_http"
4647 storage_source = {
You can’t perform that action at this time.
0 commit comments