terraform-provider-yandex icon indicating copy to clipboard operation
terraform-provider-yandex copied to clipboard

If instance stopped with nat address, tf can't rebuild anything

Open mrPsycho opened this issue 2 years ago • 0 comments

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.

mrPsycho avatar Dec 29 '22 21:12 mrPsycho