diff --git a/README.md b/README.md index 6dbf00a..f148f7e 100644 --- a/README.md +++ b/README.md @@ -188,7 +188,7 @@ None | [enable\_anyscale\_filestore](#input\_enable\_anyscale\_filestore) | (Optional) Determines if the Anyscale Filestore is created.

ex:
enable_anyscale_filestore = true
| `bool` | `true` | no | | [enable\_anyscale\_gcs](#input\_enable\_anyscale\_gcs) | (Optional) Determines if the Anyscale Cloud Storage bucket is created.

ex:
enable_anyscale_gcs = true
| `bool` | `true` | no | | [enable\_anyscale\_iam](#input\_enable\_anyscale\_iam) | (Optional) Determines if the Anyscale IAM resources are created.

ex:
enable_anyscale_iam = true
| `bool` | `true` | no | -| [enable\_anyscale\_loggingsink](#input\_enable\_anyscale\_loggingsink) | (Optional) Determines if the Anyscale Logging Sink is executed.

This sub-module will disable sending syslog events to the `_Default` Log Sink.

ex:
enable_anyscale_loggingsink = true
| `bool` | `true` | no | +| [enable\_anyscale\_loggingsink](#input\_enable\_anyscale\_loggingsink) | (Optional) Determines if the Anyscale Logging Sink sub-module is executed.

This sub-module will disable sending syslog events to the `_Default` Log Sink.

ex:
enable_anyscale_loggingsink = true
| `bool` | `true` | no | | [enable\_anyscale\_memorystore](#input\_enable\_anyscale\_memorystore) | (Optional) Determines if the Anyscale Memorystore is created.

ex:
enable_anyscale_memorystore = true
| `bool` | `false` | no | | [enable\_anyscale\_vpc\_firewall](#input\_enable\_anyscale\_vpc\_firewall) | (Optional) Determines if the Anyscale VPC Firewall is created.

ex:
enable_anyscale_vpc_firewall = true
| `bool` | `true` | no | | [enable\_cloud\_logging\_monitoring](#input\_enable\_cloud\_logging\_monitoring) | (Optional) Determines if the Google Cloud Logging and Monitoring APIs are enabled.

If this is set to `true`, the following APIs will be enabled:
- logging.googleapis.com
- monitoring.googleapis.com

Additionally, the Anyscale Cluster Role will be granted access to the following roles:
- logging.logWriter
- monitoring.metricWriter
- monitoring.viewer

ex:
enable_cloud_logging_monitoring = true
| `bool` | `false` | no | diff --git a/examples/anyscale-v2-commonname/main.tf b/examples/anyscale-v2-commonname/main.tf index 6a3662e..4bd7d45 100644 --- a/examples/anyscale-v2-commonname/main.tf +++ b/examples/anyscale-v2-commonname/main.tf @@ -46,5 +46,6 @@ module "google_anyscale_v2_commonname" { # Enable Cloud Logging on GCP - this will enable sending logs and metrics to GCP Logs and Monitoring enable_cloud_logging_monitoring = true + # Disables the Anyscale Logging Sink submodule. Setting this to false will not override the _Default Sink which will then send syslog events to the Default sink. enable_anyscale_loggingsink = false } diff --git a/variables.tf b/variables.tf index 4b70a85..03a71ff 100644 --- a/variables.tf +++ b/variables.tf @@ -1543,7 +1543,7 @@ variable "anyscale_memorystore_labels" { # -------------------------------------------- variable "enable_anyscale_loggingsink" { description = <<-EOT - (Optional) Determines if the Anyscale Logging Sink is executed. + (Optional) Determines if the Anyscale Logging Sink sub-module is executed. This sub-module will disable sending syslog events to the `_Default` Log Sink.