Azure-Samples / Azure-Samples/aks-ray-sample
Unable to re-run `terraform apply`
- Dominant language
- HCL
- Stars
- 8
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
### 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
Contributor guide
Assessment
This issue has not been assessed yet.