OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

temporary_name_for_rotation must be specified when changing any of the following properties: pod_subnet_id

  • Thread starter Thread starter Bokambo
  • Start date Start date
B

Bokambo

Guest
I am trying to update/change value of pod_subnet_id of my aks cluster using terraform from "abc" to "xyz". It gives me error message which makes sense, so i have included a condition in my TF code as below :

Code:
pod_subnet_id = var.pod_subnet
temporary_name_for_rotation = var.pod_subnet_id != null ? "tmpnodepool01" : null

But problem with above code is everytime when pod_subnet_id will have value it will create "tmpnodepool01" but I want to only create it when pod_subnet_id value gets updated.

temporary_name_for_rotation must be specified when changing any of the following properties: enable_host_encryption, enable_node_public_ip, kubelet_config, linux_os_config, max_pods, node_taints, only_critical_addons_enabled, os_disk_size_gb, os_disk_type, os_sku, pod_subnet_id, snapshot_id, ultra_ssd_enabled, vnet_subnet_id, vm_size, zones
<p>I am trying to update/change value of pod_subnet_id of my aks cluster using terraform from "abc" to "xyz". It gives me error message which makes sense, so i have included a condition in my TF code as below :</p>
<pre><code>pod_subnet_id = var.pod_subnet
temporary_name_for_rotation = var.pod_subnet_id != null ? "tmpnodepool01" : null
</code></pre>
<p>But problem with above code is everytime <code>when pod_subnet_id will have value it will create "tmpnodepool01" but I want to only create it when pod_subnet_id value gets updated.</code></p>
<p>temporary_name_for_rotation must be specified when changing any of the following properties: <code>enable_host_encryption, enable_node_public_ip, kubelet_config, linux_os_config, max_pods, node_taints, only_critical_addons_enabled, os_disk_size_gb, os_disk_type, os_sku, pod_subnet_id, snapshot_id, ultra_ssd_enabled, vnet_subnet_id, vm_size, zones</code></p>
Continue reading...
 

Latest posts

A
Replies
0
Views
1
AgencyAnalytics
A
S
Replies
0
Views
1
Stacker Media
S
C
Replies
0
Views
1
CC.Talent
C
Top