terraform-provider-yandex
terraform-provider-yandex copied to clipboard
If instance stopped with nat address, tf can't rebuild anything
Found not cool thing: if instance is stopped, so terraform plan/destroy fails with: ╷ │ Error: expected length of data.0 to be in the range (1 - 1024), got │ │ with yandex_dns_recordset.sweepnet, │ on main.tf line 80, in resource "yandex_dns_recordset" "sweepnet": │ 80: data = ["${yandex_compute_instance.nginx.network_interface.0.nat_ip_address}"] │
this is a bit strange and i believe it can be handled on provider level.