terraform-provider-google-beta icon indicating copy to clipboard operation
terraform-provider-google-beta copied to clipboard

Add support for Managed Service for Prometheus

Open mbarrien opened this issue 2 years ago • 1 comments

Adds support for Managed Service for Prometheus to google_container_cluster. Closes https://github.com/hashicorp/terraform-provider-google/issues/11224

Configuration looks like the following:

resource "google_container_cluster" {
  monitoring_config {
    managed_prometheus {
      enabled = true
    }
  }
}

Open Issues:

  • To do this, makes monitoring_config.enabled_components into an optional, to allow configuring just the managed Prometheus component. Without further tests (that might require me to spin up an actual cluster), it's unclear if leaving that empty when enabling just the Prometheus component does the right thing.
  • Unclear whether I need to add a ForceSendFields = ["Enabled"] to ensure that prometheus is properly disabled if the component is removed.

mbarrien avatar Mar 05 '22 18:03 mbarrien

Hasn't this been completed a long time ago? We can close it.

NeckBeardPrince avatar Aug 03 '23 18:08 NeckBeardPrince

The linked issue (https://github.com/hashicorp/terraform-provider-google/issues/11224) has been closed by this PR: https://github.com/GoogleCloudPlatform/magic-modules/pull/6104

Closing this PR as stale/superseded

SarahFrench avatar Jun 28 '24 16:06 SarahFrench