Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/bigquery/billing_account/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

module "log_export" {
source = "terraform-google-modules/log-export/google"
version = "~> 10.0"
version = "~> 11.0"

destination_uri = module.destination.destination_uri
log_sink_name = "bigquery_example_logsink"
Expand All @@ -27,7 +27,7 @@ module "log_export" {

module "destination" {
source = "terraform-google-modules/log-export/google//modules/bigquery"
version = "~> 10.0"
version = "~> 11.0"

project_id = var.project_id
dataset_name = "bigquery_example"
Expand Down
4 changes: 2 additions & 2 deletions examples/bigquery/folder/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resource "random_string" "suffix" {

module "log_export" {
source = "terraform-google-modules/log-export/google"
version = "~> 10.0"
version = "~> 11.0"

destination_uri = module.destination.destination_uri
filter = "resource.type = gce_instance"
Expand All @@ -34,7 +34,7 @@ module "log_export" {

module "destination" {
source = "terraform-google-modules/log-export/google//modules/bigquery"
version = "~> 10.0"
version = "~> 11.0"

project_id = var.project_id
dataset_name = "bq_folder_${random_string.suffix.result}"
Expand Down
4 changes: 2 additions & 2 deletions examples/bigquery/organization/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resource "random_string" "suffix" {

module "log_export" {
source = "terraform-google-modules/log-export/google"
version = "~> 10.0"
version = "~> 11.0"

destination_uri = module.destination.destination_uri
filter = "resource.type = gce_instance"
Expand All @@ -34,7 +34,7 @@ module "log_export" {

module "destination" {
source = "terraform-google-modules/log-export/google//modules/bigquery"
version = "~> 10.0"
version = "~> 11.0"

project_id = var.project_id
dataset_name = "bq_org_${random_string.suffix.result}"
Expand Down
4 changes: 2 additions & 2 deletions examples/bigquery/project/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resource "random_string" "suffix" {

module "log_export" {
source = "terraform-google-modules/log-export/google"
version = "~> 10.0"
version = "~> 11.0"

destination_uri = module.destination.destination_uri
filter = "resource.type = gce_instance"
Expand All @@ -34,7 +34,7 @@ module "log_export" {

module "destination" {
source = "terraform-google-modules/log-export/google//modules/bigquery"
version = "~> 10.0"
version = "~> 11.0"

project_id = var.project_id
dataset_name = "bq_project_${random_string.suffix.result}"
Expand Down
2 changes: 1 addition & 1 deletion examples/bq-log-alerting/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

module "bq-log-alerting" {
source = "terraform-google-modules/log-export/google//modules/bq-log-alerting"
version = "~> 10.0"
version = "~> 11.0"

logging_project = var.logging_project
bigquery_location = var.bigquery_location
Expand Down
4 changes: 2 additions & 2 deletions examples/datadog-sink/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ resource "google_project_iam_member" "monitoring-viewer" {

module "log_export" {
source = "terraform-google-modules/log-export/google"
version = "~> 10.0"
version = "~> 11.0"

destination_uri = module.destination.destination_uri
log_sink_name = "test-datadog-sink"
Expand All @@ -65,7 +65,7 @@ module "log_export" {

module "destination" {
source = "terraform-google-modules/log-export/google//modules/pubsub"
version = "~> 10.0"
version = "~> 11.0"

project_id = var.project_id
topic_name = "datadog-sink"
Expand Down
4 changes: 2 additions & 2 deletions examples/logbucket/folder/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resource "random_string" "suffix" {

module "log_export" {
source = "terraform-google-modules/log-export/google"
version = "~> 10.0"
version = "~> 11.0"

destination_uri = module.destination.destination_uri
filter = "resource.type = gce_instance"
Expand All @@ -34,7 +34,7 @@ module "log_export" {

module "destination" {
source = "terraform-google-modules/log-export/google//modules/logbucket"
version = "~> 10.0"
version = "~> 11.0"

project_id = var.project_id
name = "logbucket_folder_${random_string.suffix.result}"
Expand Down
4 changes: 2 additions & 2 deletions examples/logbucket/organization/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resource "random_string" "suffix" {

module "log_export" {
source = "terraform-google-modules/log-export/google"
version = "~> 10.0"
version = "~> 11.0"

destination_uri = module.destination.destination_uri
filter = "resource.type = gce_instance"
Expand All @@ -34,7 +34,7 @@ module "log_export" {

module "destination" {
source = "terraform-google-modules/log-export/google//modules/logbucket"
version = "~> 10.0"
version = "~> 11.0"

project_id = var.project_id
name = "logbucket_org_${random_string.suffix.result}"
Expand Down
8 changes: 4 additions & 4 deletions examples/logbucket/project/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resource "random_string" "suffix" {

module "log_export" {
source = "terraform-google-modules/log-export/google"
version = "~> 10.0"
version = "~> 11.0"

destination_uri = module.destination.destination_uri
filter = "resource.type = gce_instance"
Expand All @@ -34,7 +34,7 @@ module "log_export" {

module "destination" {
source = "terraform-google-modules/log-export/google//modules/logbucket"
version = "~> 10.0"
version = "~> 11.0"

project_id = var.project_destination_logbkt_id
name = "logbucket_from_other_prj_${random_string.suffix.result}"
Expand All @@ -50,7 +50,7 @@ module "destination" {
#-------------------------------------#
module "log_export_same_proj" {
source = "terraform-google-modules/log-export/google"
version = "~> 10.0"
version = "~> 11.0"

destination_uri = module.dest_same_proj.destination_uri
filter = "resource.type = gce_instance"
Expand All @@ -62,7 +62,7 @@ module "log_export_same_proj" {

module "dest_same_proj" {
source = "terraform-google-modules/log-export/google//modules/logbucket"
version = "~> 10.0"
version = "~> 11.0"

project_id = var.project_destination_logbkt_id
name = "logbucket_from_same_projct_${random_string.suffix.result}"
Expand Down
4 changes: 2 additions & 2 deletions examples/project/project/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resource "random_string" "suffix" {

module "log_export" {
source = "terraform-google-modules/log-export/google"
version = "~> 10.0"
version = "~> 11.0"

destination_uri = module.destination.destination_uri
filter = "resource.type = gce_instance"
Expand All @@ -34,7 +34,7 @@ module "log_export" {

module "destination" {
source = "terraform-google-modules/log-export/google//modules/project"
version = "~> 10.0"
version = "~> 11.0"

project_id = var.project_id
log_sink_writer_identity = module.log_export.writer_identity
Expand Down
4 changes: 2 additions & 2 deletions examples/pubsub/billing_account/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

module "log_export" {
source = "terraform-google-modules/log-export/google"
version = "~> 10.0"
version = "~> 11.0"

destination_uri = module.destination.destination_uri
log_sink_name = "pubsub_example_logsink"
Expand All @@ -27,7 +27,7 @@ module "log_export" {

module "destination" {
source = "terraform-google-modules/log-export/google//modules/pubsub"
version = "~> 10.0"
version = "~> 11.0"

project_id = var.project_id
topic_name = "pubsub-example"
Expand Down
4 changes: 2 additions & 2 deletions examples/pubsub/folder/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resource "random_string" "suffix" {

module "log_export" {
source = "terraform-google-modules/log-export/google"
version = "~> 10.0"
version = "~> 11.0"

destination_uri = module.destination.destination_uri
filter = "resource.type = gce_instance"
Expand All @@ -34,7 +34,7 @@ module "log_export" {

module "destination" {
source = "terraform-google-modules/log-export/google//modules/pubsub"
version = "~> 10.0"
version = "~> 11.0"

project_id = var.project_id
topic_name = "pubsub-folder-${random_string.suffix.result}"
Expand Down
4 changes: 2 additions & 2 deletions examples/pubsub/organization/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resource "random_string" "suffix" {

module "log_export" {
source = "terraform-google-modules/log-export/google"
version = "~> 10.0"
version = "~> 11.0"

destination_uri = module.destination.destination_uri
filter = "resource.type = gce_instance"
Expand All @@ -34,7 +34,7 @@ module "log_export" {

module "destination" {
source = "terraform-google-modules/log-export/google//modules/pubsub"
version = "~> 10.0"
version = "~> 11.0"

project_id = var.project_id
topic_name = "pubsub-org-${random_string.suffix.result}"
Expand Down
4 changes: 2 additions & 2 deletions examples/pubsub/project/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resource "random_string" "suffix" {

module "log_export" {
source = "terraform-google-modules/log-export/google"
version = "~> 10.0"
version = "~> 11.0"

destination_uri = module.destination.destination_uri
filter = "resource.type = gce_instance"
Expand All @@ -34,7 +34,7 @@ module "log_export" {

module "destination" {
source = "terraform-google-modules/log-export/google//modules/pubsub"
version = "~> 10.0"
version = "~> 11.0"

project_id = var.project_id
topic_labels = { topic_key : "topic_label" }
Expand Down
4 changes: 2 additions & 2 deletions examples/splunk-sink/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

module "log_export" {
source = "terraform-google-modules/log-export/google"
version = "~> 10.0"
version = "~> 11.0"

destination_uri = module.destination.destination_uri
log_sink_name = "test-splunk-sink"
Expand All @@ -27,7 +27,7 @@ module "log_export" {

module "destination" {
source = "terraform-google-modules/log-export/google//modules/pubsub"
version = "~> 10.0"
version = "~> 11.0"

project_id = var.project_id
topic_name = "splunk-sink"
Expand Down
4 changes: 2 additions & 2 deletions examples/storage/billing_account/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

module "log_export" {
source = "terraform-google-modules/log-export/google"
version = "~> 10.0"
version = "~> 11.0"

destination_uri = module.destination.destination_uri
log_sink_name = "storage_example_logsink"
Expand All @@ -27,7 +27,7 @@ module "log_export" {

module "destination" {
source = "terraform-google-modules/log-export/google//modules/storage"
version = "~> 10.0"
version = "~> 11.0"

project_id = var.project_id
storage_bucket_name = "storage_example_bucket"
Expand Down
4 changes: 2 additions & 2 deletions examples/storage/folder/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ resource "random_string" "suffix" {

module "log_export" {
source = "terraform-google-modules/log-export/google"
version = "~> 10.0"
version = "~> 11.0"

destination_uri = module.destination.destination_uri
filter = "resource.type = gce_instance"
Expand All @@ -35,7 +35,7 @@ module "log_export" {

module "destination" {
source = "terraform-google-modules/log-export/google//modules/storage"
version = "~> 10.0"
version = "~> 11.0"

project_id = var.project_id
storage_bucket_name = "storage_folder_${random_string.suffix.result}"
Expand Down
4 changes: 2 additions & 2 deletions examples/storage/organization/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ resource "random_string" "suffix" {

module "log_export" {
source = "terraform-google-modules/log-export/google"
version = "~> 10.0"
version = "~> 11.0"

destination_uri = module.destination.destination_uri
filter = "resource.type = gce_instance"
Expand All @@ -35,7 +35,7 @@ module "log_export" {

module "destination" {
source = "terraform-google-modules/log-export/google//modules/storage"
version = "~> 10.0"
version = "~> 11.0"

project_id = var.project_id
storage_bucket_name = "storage_org_${random_string.suffix.result}"
Expand Down
4 changes: 2 additions & 2 deletions examples/storage/project/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resource "random_string" "suffix" {

module "log_export" {
source = "terraform-google-modules/log-export/google"
version = "~> 10.0"
version = "~> 11.0"

destination_uri = module.destination.destination_uri
filter = "resource.type = gce_instance"
Expand All @@ -34,7 +34,7 @@ module "log_export" {

module "destination" {
source = "terraform-google-modules/log-export/google//modules/storage"
version = "~> 10.0"
version = "~> 11.0"

project_id = var.project_id
storage_bucket_name = "storage_project_${random_string.suffix.result}"
Expand Down