2023-10-20 09:17:47 -07:00
|
|
|
# Copyright 2023 Google LLC
|
2022-12-15 06:23:11 -08:00
|
|
|
#
|
|
|
|
# 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:
|
2024-02-20 23:41:13 -08:00
|
|
|
module.bucket.google_logging_project_bucket_config.bucket[0]:
|
|
|
|
bucket_id: test-bucket
|
|
|
|
cmek_settings: []
|
|
|
|
enable_analytics: false
|
|
|
|
index_configs: []
|
|
|
|
location: global
|
|
|
|
locked: null
|
|
|
|
project: project-id
|
|
|
|
retention_days: 30
|
|
|
|
module.dataset.google_bigquery_dataset.default:
|
|
|
|
dataset_id: bq_sink
|
|
|
|
default_encryption_configuration: []
|
|
|
|
default_partition_expiration_ms: null
|
|
|
|
default_table_expiration_ms: null
|
|
|
|
delete_contents_on_destroy: false
|
|
|
|
description: Terraform managed.
|
|
|
|
friendly_name: null
|
|
|
|
labels: null
|
|
|
|
location: EU
|
|
|
|
max_time_travel_hours: '168'
|
|
|
|
project: project-id
|
|
|
|
module.destination-project.google_project.project[0]:
|
|
|
|
auto_create_network: false
|
|
|
|
billing_account: 123456-123456-123456
|
|
|
|
folder_id: '1122334455'
|
|
|
|
labels: null
|
2024-02-23 09:11:05 -08:00
|
|
|
name: test-dest-prj
|
2024-02-20 23:41:13 -08:00
|
|
|
org_id: null
|
2024-02-23 09:11:05 -08:00
|
|
|
project_id: test-dest-prj
|
2024-02-20 23:41:13 -08:00
|
|
|
skip_delete: false
|
|
|
|
module.destination-project.google_project_service.project_services["logging.googleapis.com"]:
|
|
|
|
disable_dependent_services: false
|
|
|
|
disable_on_destroy: false
|
2024-02-23 09:11:05 -08:00
|
|
|
project: test-dest-prj
|
2024-02-20 23:41:13 -08:00
|
|
|
service: logging.googleapis.com
|
|
|
|
module.gcs.google_storage_bucket.bucket:
|
|
|
|
autoclass:
|
|
|
|
- enabled: false
|
|
|
|
cors: []
|
|
|
|
custom_placement_config: []
|
|
|
|
default_event_based_hold: null
|
|
|
|
enable_object_retention: null
|
|
|
|
encryption: []
|
|
|
|
force_destroy: true
|
|
|
|
labels: null
|
|
|
|
lifecycle_rule: []
|
|
|
|
location: EU
|
|
|
|
logging: []
|
|
|
|
name: test-gcs_sink
|
|
|
|
project: project-id
|
|
|
|
requester_pays: null
|
|
|
|
retention_policy: []
|
|
|
|
storage_class: MULTI_REGIONAL
|
|
|
|
uniform_bucket_level_access: true
|
|
|
|
versioning:
|
|
|
|
- enabled: false
|
2022-12-15 06:23:11 -08:00
|
|
|
module.org.google_bigquery_dataset_iam_member.bq-sinks-binding["info"]:
|
|
|
|
condition: []
|
|
|
|
role: roles/bigquery.dataEditor
|
|
|
|
module.org.google_logging_organization_exclusion.logging-exclusion["no-gce-instances"]:
|
2024-02-20 23:41:13 -08:00
|
|
|
description: no-gce-instances (Terraform-managed).
|
2022-12-15 06:23:11 -08:00
|
|
|
disabled: null
|
|
|
|
filter: resource.type=gce_instance
|
|
|
|
name: no-gce-instances
|
|
|
|
org_id: '1122334455'
|
2024-02-20 23:41:13 -08:00
|
|
|
module.org.google_logging_organization_sink.sink["alert"]:
|
|
|
|
description: alert (Terraform-managed).
|
2024-02-23 09:11:05 -08:00
|
|
|
destination: logging.googleapis.com/projects/test-dest-prj
|
2024-02-20 23:41:13 -08:00
|
|
|
disabled: false
|
|
|
|
exclusions: []
|
|
|
|
filter: severity=ALERT
|
|
|
|
include_children: true
|
|
|
|
name: alert
|
|
|
|
org_id: '1122334455'
|
2022-12-15 06:23:11 -08:00
|
|
|
module.org.google_logging_organization_sink.sink["debug"]:
|
2024-02-20 23:41:13 -08:00
|
|
|
description: debug (Terraform-managed).
|
2022-12-15 06:23:11 -08:00
|
|
|
disabled: false
|
|
|
|
exclusions:
|
|
|
|
- description: null
|
|
|
|
disabled: false
|
|
|
|
filter: logName:compute
|
|
|
|
name: no-compute
|
|
|
|
filter: severity=DEBUG
|
|
|
|
include_children: true
|
|
|
|
name: debug
|
|
|
|
org_id: '1122334455'
|
|
|
|
module.org.google_logging_organization_sink.sink["info"]:
|
2024-01-28 01:27:28 -08:00
|
|
|
bigquery_options:
|
2024-02-20 23:41:13 -08:00
|
|
|
- use_partitioned_tables: true
|
|
|
|
description: info (Terraform-managed).
|
2022-12-15 06:23:11 -08:00
|
|
|
disabled: false
|
|
|
|
exclusions: []
|
|
|
|
filter: severity=INFO
|
|
|
|
include_children: true
|
|
|
|
name: info
|
|
|
|
org_id: '1122334455'
|
|
|
|
module.org.google_logging_organization_sink.sink["notice"]:
|
2024-02-20 23:41:13 -08:00
|
|
|
description: notice (Terraform-managed).
|
|
|
|
destination: pubsub.googleapis.com/projects/project-id/topics/pubsub_sink
|
2022-12-15 06:23:11 -08:00
|
|
|
disabled: false
|
|
|
|
exclusions: []
|
|
|
|
filter: severity=NOTICE
|
|
|
|
include_children: true
|
|
|
|
name: notice
|
|
|
|
org_id: '1122334455'
|
|
|
|
module.org.google_logging_organization_sink.sink["warnings"]:
|
2024-02-20 23:41:13 -08:00
|
|
|
description: warnings (Terraform-managed).
|
2023-11-14 09:54:59 -08:00
|
|
|
destination: storage.googleapis.com/test-gcs_sink
|
2022-12-15 06:23:11 -08:00
|
|
|
disabled: false
|
|
|
|
exclusions: []
|
|
|
|
filter: severity=WARNING
|
|
|
|
include_children: true
|
|
|
|
name: warnings
|
|
|
|
org_id: '1122334455'
|
2024-02-20 23:41:13 -08:00
|
|
|
module.org.google_project_iam_member.bucket-sinks-binding["debug"]:
|
|
|
|
condition:
|
|
|
|
- title: debug bucket writer
|
|
|
|
role: roles/logging.bucketWriter
|
|
|
|
module.org.google_project_iam_member.project-sinks-binding["alert"]:
|
|
|
|
condition: []
|
2024-02-23 09:11:05 -08:00
|
|
|
project: test-dest-prj
|
2024-02-20 23:41:13 -08:00
|
|
|
role: roles/logging.logWriter
|
|
|
|
module.org.google_pubsub_topic_iam_member.pubsub-sinks-binding["notice"]:
|
|
|
|
condition: []
|
|
|
|
project: project-id
|
|
|
|
role: roles/pubsub.publisher
|
|
|
|
topic: pubsub_sink
|
|
|
|
module.org.google_storage_bucket_iam_member.storage-sinks-binding["warnings"]:
|
|
|
|
bucket: test-gcs_sink
|
|
|
|
condition: []
|
|
|
|
role: roles/storage.objectCreator
|
2022-12-15 06:23:11 -08:00
|
|
|
module.pubsub.google_pubsub_topic.default:
|
|
|
|
kms_key_name: null
|
|
|
|
labels: null
|
|
|
|
message_retention_duration: null
|
|
|
|
name: pubsub_sink
|
|
|
|
project: project-id
|
|
|
|
|
|
|
|
counts:
|
2024-02-20 23:41:13 -08:00
|
|
|
google_bigquery_dataset: 1
|
2022-12-15 06:23:11 -08:00
|
|
|
google_bigquery_dataset_iam_member: 1
|
|
|
|
google_logging_organization_exclusion: 1
|
2024-02-20 23:41:13 -08:00
|
|
|
google_logging_organization_sink: 5
|
|
|
|
google_logging_project_bucket_config: 1
|
|
|
|
google_project: 1
|
|
|
|
google_project_iam_member: 2
|
|
|
|
google_project_service: 1
|
|
|
|
google_pubsub_topic: 1
|
2022-12-15 06:23:11 -08:00
|
|
|
google_pubsub_topic_iam_member: 1
|
2024-02-20 23:41:13 -08:00
|
|
|
google_storage_bucket: 1
|
2022-12-15 06:23:11 -08:00
|
|
|
google_storage_bucket_iam_member: 1
|
2024-02-20 23:41:13 -08:00
|
|
|
modules: 6
|
|
|
|
resources: 17
|
|
|
|
|