Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azurerm_kubernetes_cluster - Fix issue where min_count and max_count couldn't be the same #8957

Merged
merged 5 commits into from
Oct 22, 2020

Conversation

ritesh-modi
Copy link
Contributor

@ritesh-modi ritesh-modi commented Oct 20, 2020

Fixed issue #8944. The min_count of nodes can be same as max_count both for default as well as other node pools

Written couple of additional tests - one each for cluster default node pool and explicit node pools.

The tests have passed.

riteshmodi@MININT-3FOKASG terraform-provider-azurerm % TF_PROVIDER_SPLIT_COMBINED_TESTS=1 TF_ACC=1 go test -v ./azurerm/internal/services/containers/tests/ -timeout=60m -run=TestAccAzureRMKubernetesCluster_sameSize
=== RUN TestAccAzureRMKubernetesCluster_sameSize
=== PAUSE TestAccAzureRMKubernetesCluster_sameSize
=== CONT TestAccAzureRMKubernetesCluster_sameSize
--- PASS: TestAccAzureRMKubernetesCluster_sameSize (1017.63s)
PASS
ok github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/containers/tests 1017.697s

riteshmodi@MININT-3FOKASG terraform-provider-azurerm % TF_PROVIDER_SPLIT_COMBINED_TESTS=1 TF_ACC=1 go test -v ./azurerm/internal/services/containers/tests/ -timeout=60m -run=TestAccAzureRMKubernetesClusterNodePool_sameSize
=== RUN TestAccAzureRMKubernetesClusterNodePool_sameSize
=== PAUSE TestAccAzureRMKubernetesClusterNodePool_sameSize
=== CONT TestAccAzureRMKubernetesClusterNodePool_sameSize
--- PASS: TestAccAzureRMKubernetesClusterNodePool_sameSize (1032.67s)
PASS
ok github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/containers/tests 1032.733s

ritesh-modi and others added 2 commits October 20, 2020 16:35
@ghost ghost added the size/M label Oct 20, 2020
…_count both for default as well as other node pools
@ghost ghost added the documentation label Oct 20, 2020
ritesh-modi added 2 commits October 20, 2020 23:02
…_count both for default as well as other node pools
…_count both for default as well as other node pools
Copy link
Member

@mbfrahry mbfrahry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mbfrahry mbfrahry changed the title Fixed issue #8953. The min_count of nodes can be same as max_count both for default as well as other node pools azurerm_kubernetes_cluster - Fix issue where min_count and max_count couldn't be the same Oct 22, 2020
@mbfrahry mbfrahry added this to the v2.34.0 milestone Oct 22, 2020
@mbfrahry mbfrahry merged commit 227568a into hashicorp:master Oct 22, 2020
mbfrahry added a commit that referenced this pull request Oct 22, 2020
@ghost
Copy link

ghost commented Oct 29, 2020

This has been released in version 2.34.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example:

provider "azurerm" {
    version = "~> 2.34.0"
}
# ... other configuration ...

@ghost
Copy link

ghost commented Nov 22, 2020

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 ghost locked as resolved and limited conversation to collaborators Nov 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants