-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
azurem_kubernetes_cluster
/azurerm_kubernetes_cluster_node_pool
: support for node_public_ip_prefix_id
#11635
azurem_kubernetes_cluster
/azurerm_kubernetes_cluster_node_pool
: support for node_public_ip_prefix_id
#11635
Conversation
85e85f7
to
a3ad4db
Compare
@aristosvo great job, only the conflicts need to be fixed. |
@nickvth Thanks! I reordered some code without separated commits, so I basically asked for it :) |
a3ad4db
to
57b4042
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @aristosvo! About 30 of the cluster tests are now failing with these changes.
TestAccKubernetesClusterNodePool_autoScaleUpdate
fails with
Code="LinkedInvalidPropertyId" Message="Property id '' at path 'properties.nodePublicIPPrefixID'
and TestAccKubernetesCluster_enableNodePublicIP
is failing as well
testing.go:620: Step 1/2 error: Error running pre-apply refresh: exit status 1
Error: "default_node_pool.0.enable_node_public_ip": all of `default_node_pool.0.enable_node_public_ip,default_node_pool.0.node_public_ip_prefix_id` must be specified
with azurerm_kubernetes_cluster.test,
on terraform_plugin_test.tf line 11, in resource "azurerm_kubernetes_cluster" "test":
11: resource "azurerm_kubernetes_cluster" "test" {
--- FAIL: TestAccKubernetesCluster_enableNodePublicIP (5.99s)
I think we should be nearly there if we get those issues fixed up
@mbfrahry Thanks for running all the AccTests! I believe I fixed the last one already with commit
I've tried to fix the first one as well, checks are running atm! Are these failing tests only
|
Ack! I'm so sorry! I was looking at the wrong commit. I'm running through the tests again against the latest changes here. I'll report back as soon as they are done |
No problem, I hadn't noticed the failing Thanks a lot! |
kubernetes_cluster
/kubernetes_cluster_node_pool
: Node Public IP Prefix added for resources and data sourcesazurem_kubernetes_cluster
/azurerm_kubernetes_cluster_node_pool
: support for node_public_ip_prefix_id
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks @aristosvo!
This has been released in version 2.62.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.62.0"
}
# ... other configuration ... |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Fixes #11424
Tasks done:
kubernetes_cluster
resourceTestAccKubernetesCluster_nodePublicIPPrefix
)enable_node_public_ip
cannot be changed (TestAccKubernetesCluster_enableNodePublicIP
)kubernetes_cluster
data sourceTestAccDataSourceKubernetesCluster_enableNodePublicIP
->TestAccDataSourceKubernetesCluster_nodePublicIP
)kubernetes_cluster_node_pool
resourcekubernetes_cluster_node_pool
resource (TestAccKubernetesClusterNodePool_enableNodePublicIP
->TestAccKubernetesClusterNodePool_nodePublicIP
)kubernetes_cluster_node_pool
data sourceAcceptance tests: