Created
August 4, 2023 17:29
-
-
Save rssnyder/10e1b300d91803e5f8fb3e7cbd9c8873 to your computer and use it in GitHub Desktop.
creating k8s and k8s cost connectors for harness ccm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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