Skip to content

Commit

Permalink
Fix v4_cidr_blocks is required in compute_instance (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
patsevanton authored and Anatoly Pilikov committed Dec 15, 2022
1 parent e364eb3 commit 84fb407
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions website/docs/r/compute_instance.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ resource "yandex_compute_instance" "default" {
resource "yandex_vpc_network" "foo" {}
resource "yandex_vpc_subnet" "foo" {
zone = "ru-central1-a"
network_id = "${yandex_vpc_network.foo.id}"
zone = "ru-central1-a"
network_id = "${yandex_vpc_network.foo.id}"
v4_cidr_blocks = ["10.5.0.0/24"]
}
```

Expand Down

0 comments on commit 84fb407

Please sign in to comment.