File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -136,16 +136,16 @@ resource "google_api_gateway_gateway" "gateway" {
136136}
137137
138138module "endpoints" {
139- source = " ./../modules/run-service"
140- entry_point = " app"
141- project = var. project
142- environment = var. environment
143- source_directory = " ../../src"
144- function_name = " tech-report-api"
145- region = var. region
146- service_account_email = var. google_service_account_cloud_functions
147- service_account_api_gateway = var. google_service_account_api_gateway
148- min_instances = var. min_instances
139+ source = " ./../modules/run-service"
140+ entry_point = " app"
141+ project = var. project
142+ environment = var. environment
143+ source_directory = " ../../src"
144+ function_name = " tech-report-api"
145+ region = var. region
146+ service_account_email = var. google_service_account_cloud_functions
147+ service_account_api_gateway = var. google_service_account_api_gateway
148+ min_instances = var. min_instances
149149 environment_variables = {
150150 " PROJECT" = var.project
151151 " DATABASE" = var.project_database
Original file line number Diff line number Diff line change @@ -81,8 +81,8 @@ resource "google_cloudfunctions2_function_iam_member" "api_gw_variable_service_a
8181 location = google_cloudfunctions2_function. function . location
8282 cloud_function = google_cloudfunctions2_function. function . name
8383 role = " roles/cloudfunctions.invoker"
84- member = " serviceAccount:${ var . service_account_api_gateway } "
85- depends_on = [google_cloudfunctions2_function . function ]
84+ member = " serviceAccount:${ var . service_account_api_gateway } "
85+ depends_on = [google_cloudfunctions2_function . function ]
8686}
8787
8888resource "google_cloud_run_v2_service_iam_member" "api_gw_variable_service_account_run_invoker" {
You can’t perform that action at this time.
0 commit comments