Remove support for creating SA for event arc triggers

This commit is contained in:
Wiktor Niesiobędzki
2025-08-13 10:03:10 +00:00
parent ff85f05669
commit 75fa484730
8 changed files with 56 additions and 382 deletions

View File

@@ -53,8 +53,10 @@ values:
counts:
google_cloud_run_v2_service: 1
google_cloud_run_v2_service_iam_binding: 1
google_eventarc_trigger: 1
google_service_account: 1
modules: 2
resources: 3
resources: 4
outputs: {}

View File

@@ -1,74 +0,0 @@
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
values:
module.cloud_run.google_cloud_run_v2_service_iam_member.default[0]:
condition: []
location: europe-west8
name: hello
project: project-id
role: roles/run.invoker
module.cloud_run.google_cloud_run_v2_service.service[0]:
location: europe-west8
name: hello
project: project-id
template:
- containers:
- args: null
command: null
depends_on: null
env: []
image: us-docker.pkg.dev/cloudrun/container/hello
name: hello
volume_mounts: []
working_dir: null
execution_environment: EXECUTION_ENVIRONMENT_GEN1
volumes: []
vpc_access: []
timeouts: null
module.cloud_run.google_eventarc_trigger.audit_log_triggers["setiampolicy"]:
destination:
- cloud_run_service:
- path: null
region: europe-west8
service: hello
location: europe-west8
matching_criteria:
- attribute: methodName
operator: ''
value: SetIamPolicy
- attribute: serviceName
operator: ''
value: cloudresourcemanager.googleapis.com
- attribute: type
operator: ''
value: google.cloud.audit.log.v1.written
name: audit-log-setiampolicy
project: project-id
module.cloud_run.google_service_account.trigger_service_account[0]:
account_id: tf-cr-trigger-hello
description: null
disabled: false
display_name: Terraform trigger for Cloud Run hello.
project: project-id
counts:
google_cloud_run_v2_service_iam_member: 1
google_cloud_run_v2_service: 1
google_eventarc_trigger: 1
google_service_account: 1
modules: 1
resources: 5
outputs: {}

View File

@@ -1,71 +0,0 @@
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
values:
module.cloud_run.google_cloud_run_v2_service_iam_member.default[0]:
condition: []
location: europe-west8
name: hello
project: project-id
role: roles/run.invoker
module.cloud_run.google_cloud_run_v2_service.service[0]:
location: europe-west8
name: hello
project: project-id
template:
- containers:
- args: null
command: null
depends_on: null
env: []
image: us-docker.pkg.dev/cloudrun/container/hello
name: hello
volume_mounts: []
working_dir: null
execution_environment: EXECUTION_ENVIRONMENT_GEN1
volumes: []
vpc_access: []
module.cloud_run.google_eventarc_trigger.pubsub_triggers["topic-1"]:
destination:
- cloud_run_service:
- path: null
region: europe-west8
service: hello
location: europe-west8
matching_criteria:
- attribute: type
operator: ''
value: google.cloud.pubsub.topic.v1.messagePublished
name: pubsub-topic-1
project: project-id
transport:
- pubsub:
- topic: topic
module.cloud_run.google_service_account.trigger_service_account[0]:
account_id: tf-cr-trigger-hello
description: null
disabled: false
display_name: Terraform trigger for Cloud Run hello.
project: project-id
timeouts: null
counts:
google_cloud_run_v2_service_iam_member: 1
google_cloud_run_v2_service: 1
google_eventarc_trigger: 1
google_service_account: 1
modules: 2
resources: 7
outputs: {}

View File

@@ -1,73 +0,0 @@
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
values:
module.cloud_run.google_cloud_run_v2_service.service[0]:
location: europe-west8
name: hello
project: project-id
template:
- containers:
- args: null
command: null
depends_on: null
env: []
image: us-docker.pkg.dev/cloudrun/container/hello
name: hello
volume_mounts: []
working_dir: null
execution_environment: EXECUTION_ENVIRONMENT_GEN1
volumes: []
vpc_access: []
module.cloud_run.google_eventarc_trigger.storage_triggers["bucket-upload"]:
destination:
- cloud_run_service:
- path: /webhook
region: europe-west8
service: hello
location: europe-west8
matching_criteria:
- attribute: bucket
operator: ''
value: test-my-bucket
- attribute: type
operator: ''
value: google.cloud.storage.object.v1.finalized
name: storage-bucket-upload
project: project-id
module.cloud_run.google_service_account.trigger_service_account[0]:
account_id: tf-cr-trigger-hello
description: null
disabled: false
display_name: Terraform trigger for Cloud Run hello.
project: project-id
timeouts: null
module.cloud_run.google_cloud_run_v2_service_iam_member.default[0]:
condition: []
member: serviceAccount:tf-cr-trigger-hello@project-id.iam.gserviceaccount.com
project: project-id
role: roles/run.invoker
counts:
google_cloud_run_v2_service: 1
google_cloud_run_v2_service_iam_member: 1
google_eventarc_trigger: 1
google_service_account: 1
modules: 2
resources: 7
outputs: {}