You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating an azurerm_kubernetes_cluster in Terraform provisions a number of resources but most of them disobey the value provided in field resource_group_name.
My tf file looks like this:
resource "azurerm_kubernetes_cluster" "container_service" {
name = "${var.container_service_name}"
location = "${var.resource_group_location}"
resource_group_name = "${var.resource_group_name}"
kubernetes_version = "1.8.2"
dns_prefix = "${var.dns_name_prefix}"
...
Where var.resource_group_name is "k8s".
The result is that resources get created in Azure but most of them get a resource group name of "MC_k8s_k8s-containerservice_eastus" instead of the expected "k8s". Only the Container service resource has the expected resource group name of "k8s".
This causes a problem if someone wants to locate the resources for further configuration.
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!
ghost
locked and limited conversation to collaborators
Mar 31, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Creating an azurerm_kubernetes_cluster in Terraform provisions a number of resources but most of them disobey the value provided in field resource_group_name.
My tf file looks like this:
resource "azurerm_kubernetes_cluster" "container_service" {
name = "${var.container_service_name}"
location = "${var.resource_group_location}"
resource_group_name = "${var.resource_group_name}"
kubernetes_version = "1.8.2"
dns_prefix = "${var.dns_name_prefix}"
...
Where var.resource_group_name is "k8s".
The result is that resources get created in Azure but most of them get a resource group name of "MC_k8s_k8s-containerservice_eastus" instead of the expected "k8s". Only the Container service resource has the expected resource group name of "k8s".
This causes a problem if someone wants to locate the resources for further configuration.
The text was updated successfully, but these errors were encountered: