Sitelet https://github.com/kubernetes/kops/pull/18636
Skip to content

azure: support terraform provider azurerm v5 - #18636

Merged
kubernetes-prow[bot] merged 1 commit into
kubernetes:masterfrom
hakman:azurerm-v5
Jul 29, 2026
Merged

kubernetes-prow[bot] merged 1 commit into
kubernetes:masterfrom
hakman:azurerm-v5

Conversation

@hakman

@hakman hakman commented Jul 29, 2026

Copy link
Copy Markdown
Member

The azurerm provider v5.0.0 (released 2026-07-28) removed the enable_ip_forwarding argument from azurerm_linux_virtual_machine_scale_set (renamed to ip_forwarding_enabled) and replaced storage_account_name and storage_container_name on azurerm_storage_blob with a required storage_container_id. This broke terraform validate for the generated Azure config, as seen in the pull-kops-verify-terraform job.

This updates the generated Terraform to the new argument names, builds the storage container ID from the storage account resource ID already present in the cluster spec, and bumps the generated provider version constraint to >= 5.0.0. Note that existing clusters will need to upgrade the provider, and the blob resources will show as replacements on the first plan due to the ID-based arguments.

https://prow.k8s.io/view/gs/kubernetes-ci-logs/pr-logs/pull/kops/18623/pull-kops-verify-terraform/2082337742150176768

/cc @rifelpet @ameukam @upodroid

@kubernetes-prow kubernetes-prow Bot added area/provider/azure Issues or PRs related to azure provider size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jul 29, 2026
@hakman

hakman commented Jul 29, 2026

Copy link
Copy Markdown
Member Author

/approve

@kubernetes-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hakman

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubernetes-prow kubernetes-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 29, 2026
@ameukam

ameukam commented Jul 29, 2026

Copy link
Copy Markdown
Member

/lgtm

@kubernetes-prow kubernetes-prow Bot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 29, 2026
@kubernetes-prow
kubernetes-prow Bot merged commit 4adcad5 into kubernetes:master Jul 29, 2026
27 checks passed
kubernetes-prow Bot added a commit that referenced this pull request Jul 29, 2026
…-upstream-release-1.36

Automated cherry pick of #18636: azure: support terraform provider azurerm v5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/provider/azure Issues or PRs related to azure provider cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants