missing resources

This commit is contained in:
Ayu Demura 2016-07-22 12:26:41 -04:00
parent be3df2e547
commit 27dc29ce28
3 changed files with 6 additions and 8 deletions

View File

@ -18,10 +18,12 @@ func Provider() terraform.ResourceProvider {
}, },
ResourcesMap: map[string]*schema.Resource{ ResourcesMap: map[string]*schema.Resource{
"packet_device": resourcePacketDevice(), "packet_device": resourcePacketDevice(),
"packet_ssh_key": resourcePacketSSHKey(), "packet_ssh_key": resourcePacketSSHKey(),
"packet_project": resourcePacketProject(), "packet_project": resourcePacketProject(),
"packet_volume": resourcePacketVolume(), "packet_volume": resourcePacketVolume(),
"packet_ip_address": resourcePacketIPAddress(),
"packet_ip_reservation": resourcePacketIPReservation(),
}, },
ConfigureFunc: providerConfigure, ConfigureFunc: providerConfigure,

View File

@ -14,8 +14,6 @@ func resourcePacketIPAddress() *schema.Resource {
Schema: map[string]*schema.Schema{ Schema: map[string]*schema.Schema{
"address": &schema.Schema{ "address": &schema.Schema{
Type: schema.TypeString, Type: schema.TypeString,
Required: true,
Optional: true,
Computed: true, Computed: true,
}, },

View File

@ -14,8 +14,6 @@ func resourcePacketIPReservation() *schema.Resource {
Schema: map[string]*schema.Schema{ Schema: map[string]*schema.Schema{
"address": &schema.Schema{ "address": &schema.Schema{
Type: schema.TypeString, Type: schema.TypeString,
Required: true,
Optional: true,
Computed: true, Computed: true,
}, },