@@ -325,7 +325,7 @@ data "phpipam_first_free_address" "next_address" {
325
325
326
326
// Reserve the address. Note that we use ignore_changes here to ensure that we
327
327
// don't end up re-allocating this address on future Terraform runs.
328
- resource "phpipam_address" {
328
+ resource "phpipam_address" "newip" {
329
329
subnet_id = data.phpipam_subnet.subnet.subnet_id
330
330
ip_address = data.phpipam_first_free_address.next_address.ip_address
331
331
hostname = "tf-test-host.example.internal"
@@ -441,7 +441,7 @@ data "phpipam_subnet" "subnet" {
441
441
}
442
442
443
443
// Reserve the address.
444
- resource "phpipam_address" {
444
+ resource "phpipam_address" "newip" {
445
445
subnet_id = data.phpipam_subnet.subnet.subnet_id
446
446
ip_address = "10.10.2.10"
447
447
hostname = "tf-test-host.example.internal"
@@ -465,7 +465,7 @@ data "phpipam_first_free_address" "next_address" {
465
465
466
466
// Reserve the address. Note that we use ignore_changes here to ensure that we
467
467
// don't end up re-allocating this address on future Terraform runs.
468
- resource "phpipam_address" {
468
+ resource "phpipam_address" "newip" {
469
469
subnet_id = data.phpipam_subnet.subnet.subnet_id
470
470
ip_address = data.phpipam_first_free_address.next_address.ip_address
471
471
hostname = "tf-test-host.example.internal"
@@ -499,7 +499,7 @@ data "phpipam_first_free_address" "next_address" {
499
499
500
500
// Reserve the address. Note that we use ignore_changes here to ensure that we
501
501
// don't end up re-allocating this address on future Terraform runs.
502
- resource "phpipam_address" {
502
+ resource "phpipam_address" "newip" {
503
503
subnet_id = data.phpipam_subnet.subnet.subnet_id
504
504
ip_address = data.phpipam_first_free_address.next_address.ip_address
505
505
hostname = "tf-test-host.example.internal"
@@ -762,7 +762,7 @@ data "phpipam_first_free_address" "next_address" {
762
762
763
763
// Reserve the address. Note that we use ignore_changes here to ensure that we
764
764
// don't end up re-allocating this address on future Terraform runs.
765
- resource "phpipam_address" {
765
+ resource "phpipam_address" "newip" {
766
766
subnet_id = data.phpipam_subnet.subnet.subnet_id
767
767
ip_address = data.phpipam_first_free_address.next_address.ip_address
768
768
hostname = "tf-test-host.example.internal"
0 commit comments