File tree 3 files changed +0
-15
lines changed
3 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ module "gcp_python_fastapi_pipeline" {
47
47
region = var. region
48
48
49
49
cloudbuild_trigger_name = " gcp-python-fastapi"
50
- service_name = " gcp-python-fastapi-service"
51
50
description = " Cloud Build Trigger for GCP Python FastAPI"
52
51
github_repo_name = " gcp-python-fastapi"
53
52
secret_id = google_secret_manager_secret. snyk_token . secret_id
Original file line number Diff line number Diff line change @@ -21,15 +21,6 @@ resource "google_project_iam_member" "cloud_build_roles" {
21
21
member = " serviceAccount:${ google_service_account . cloudbuild_service_account . email } "
22
22
}
23
23
24
- resource "google_cloud_run_service_iam_member" "all_users_invoker" {
25
- project = var. project_id
26
- location = var. region
27
- service = var. service_name
28
-
29
- role = " roles/run.invoker"
30
- member = " allUsers"
31
- }
32
-
33
24
resource "google_secret_manager_secret_iam_binding" "secret_manager_binding" {
34
25
for_each = toset ([
35
26
" roles/secretmanager.secretAccessor" ,
Original file line number Diff line number Diff line change @@ -3,11 +3,6 @@ variable "cloudbuild_trigger_name" {
3
3
type = string
4
4
}
5
5
6
- variable "service_name" {
7
- description = " Name of the Cloud Run service"
8
- type = string
9
- }
10
-
11
6
variable "description" {
12
7
description = " Description of the Cloud Build trigger"
13
8
type = string
You can’t perform that action at this time.
0 commit comments