Skip to content

Instantly share code, notes, and snippets.

@rssnyder
Created August 4, 2023 17:29
Show Gist options
  • Save rssnyder/10e1b300d91803e5f8fb3e7cbd9c8873 to your computer and use it in GitHub Desktop.
Save rssnyder/10e1b300d91803e5f8fb3e7cbd9c8873 to your computer and use it in GitHub Desktop.
creating k8s and k8s cost connectors for harness ccm
resource "harness_platform_connector_kubernetes" "cluster-a" {
identifier = "cluster_a"
name = "cluster-a"
inherit_from_delegate {
delegate_selectors = ["cluster-a"]
}
}
resource "harness_platform_connector_kubernetes_cloud_cost" "cluster-a-ccm" {
identifier = "cluster_a_ccm"
name = "cluster-a-ccm"
features_enabled = ["VISIBILITY", "OPTIMIZATION"]
connector_ref = harness_platform_connector_kubernetes.cluster-a.id
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment