-
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
azurerm_kubernetes_cluster
- Update Azure CNI to Azure CNI Overlay enabled
#22709
Conversation
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.
@aristosvo what happens if we try migrating in the other direction e.g. overlay -> azure?
I haven't tried yet, the docs seem unclear. I'll give it a try! |
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.
Looks like we have some test failures:
Error: creating Kubernetes Cluster (Subscription: "*******"
Resource Group Name: "acctestRG-230802013926273291"
Kubernetes Cluster Name: "acctestaks230802013926273291"): managedclusters.ManagedClustersClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: Code="AgentPoolK8sVersionNotSupported" Message="Version 1.25.5 is not supported in this region. Please use [az aks get-versions] command to get the supported version list in this region. For more information, please check https://aka.ms/supported-version-list"
with azurerm_kubernetes_cluster.test,
on terraform_plugin_test.tf line 76, in resource "azurerm_kubernetes_cluster" "test":
76: resource "azurerm_kubernetes_cluster" "test" {
354566f
to
5620682
Compare
@katbyte I think these are unrelated, at least as far as I can interpret them @stephybun I made it a one-way migration for now, as I think it should be. Test is broken because of the |
5620682
to
0f5ce2c
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.
Thanks @aristosvo. Hope you don't mind I rebased your branch to pull in the test fix for public_network_access_enabled
.
I have one suggestion to simplify the ForceNew condition but otherwise this looks like it's ready.
Co-authored-by: stephybun <[email protected]>
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.
Thanks @aristosvo LGTM 👍
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 #22704
Acctests
New test runs like a charm, other tests should not be affected as only the schema has a
ForceNew=True
removed.