diff --git a/builtin/providers/packet/provider.go b/builtin/providers/packet/provider.go index f3a8483370..853e1c2473 100644 --- a/builtin/providers/packet/provider.go +++ b/builtin/providers/packet/provider.go @@ -18,10 +18,12 @@ func Provider() terraform.ResourceProvider { }, ResourcesMap: map[string]*schema.Resource{ - "packet_device": resourcePacketDevice(), - "packet_ssh_key": resourcePacketSSHKey(), - "packet_project": resourcePacketProject(), - "packet_volume": resourcePacketVolume(), + "packet_device": resourcePacketDevice(), + "packet_ssh_key": resourcePacketSSHKey(), + "packet_project": resourcePacketProject(), + "packet_volume": resourcePacketVolume(), + "packet_ip_address": resourcePacketIPAddress(), + "packet_ip_reservation": resourcePacketIPReservation(), }, ConfigureFunc: providerConfigure, diff --git a/builtin/providers/packet/resource_packet_ip_address.go b/builtin/providers/packet/resource_packet_ip_address.go index 502e378b31..fd8b61fddf 100644 --- a/builtin/providers/packet/resource_packet_ip_address.go +++ b/builtin/providers/packet/resource_packet_ip_address.go @@ -14,8 +14,6 @@ func resourcePacketIPAddress() *schema.Resource { Schema: map[string]*schema.Schema{ "address": &schema.Schema{ Type: schema.TypeString, - Required: true, - Optional: true, Computed: true, }, diff --git a/builtin/providers/packet/resource_packet_ip_reservation.go b/builtin/providers/packet/resource_packet_ip_reservation.go index 80547f3c01..51331e7eb9 100644 --- a/builtin/providers/packet/resource_packet_ip_reservation.go +++ b/builtin/providers/packet/resource_packet_ip_reservation.go @@ -14,8 +14,6 @@ func resourcePacketIPReservation() *schema.Resource { Schema: map[string]*schema.Schema{ "address": &schema.Schema{ Type: schema.TypeString, - Required: true, - Optional: true, Computed: true, },