Skip to content

Commit c90362d

Browse files
committed
fix: rename function_name to service_name in endpoints module
1 parent 8df7c3a commit c90362d

File tree

2 files changed

+2
-17
lines changed

2 files changed

+2
-17
lines changed

terraform/dev/main.tf

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -26,26 +26,11 @@ module "endpoints" {
2626
project = var.project
2727
environment = var.environment
2828
source_directory = "../../src"
29-
function_name = "tech-report-api"
29+
service_name = "tech-report-api"
3030
region = var.region
3131
min_instances = var.min_instances
3232
environment_variables = {
3333
"PROJECT" = var.project
3434
"DATABASE" = var.project_database
3535
}
3636
}
37-
38-
moved {
39-
from = google_api_gateway_api.api
40-
to = module.gateway.google_api_gateway_api.api
41-
}
42-
43-
moved {
44-
from = google_api_gateway_api_config.api_config
45-
to = module.gateway.google_api_gateway_api_config.api_config
46-
}
47-
48-
moved {
49-
from = google_api_gateway_gateway.gateway
50-
to = module.gateway.google_api_gateway_gateway.gateway
51-
}

terraform/prod/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module "endpoints" {
2626
project = var.project
2727
environment = var.environment
2828
source_directory = "../../src"
29-
function_name = "tech-report-api"
29+
service_name = "tech-report-api"
3030
region = var.region
3131
min_instances = var.min_instances
3232
environment_variables = {

0 commit comments

Comments
 (0)