Skip to content

Unable to re-run terraform apply #6

@rgardler-msft

Description

@rgardler-msft

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

  • Run terraform plan -out main.tfplan; terraform apply "main.tfplan" (which deploy.sh does)
  • Make a change to a configuration file (any change, or in fact no change at all for minimal steps to repro)
  • Run terraform plan -out main.tfplan; terraform apply "main.tfplan"

Any log messages given by the failure

Error: `temporary_name_for_rotation` must be specified when updating any of the following properties ["default_node_pool.0.name" "default_node_pool.0.host_encryption_enabled" "default_node_pool.0.node_public_ip_enabled" "default_node_pool.0.fips_enabled" "default_node_pool.0.kubelet_config" "default_node_pool.0.linux_os_config" "default_node_pool.0.max_pods" "default_node_pool.0.only_critical_addons_enabled" "default_node_pool.0.os_disk_size_gb" "default_node_pool.0.os_disk_type" "default_node_pool.0.pod_subnet_id" "default_node_pool.0.snapshot_id" "default_node_pool.0.ultra_ssd_enabled" "default_node_pool.0.vnet_subnet_id" "default_node_pool.0.vm_size" "default_node_pool.0.zones"]

Expected/desired behavior

Should be able to run terraform apply multiple times.

OS and Version?

WSL with Unbuntu 22.04 (on Windows 11)

Versions

HEAD

Mention any other details that might be useful

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions