Merge pull request #14833 from hashicorp/f-update-opc-provider-vendor
provider/opc: update opc provider vendor
This commit is contained in:
commit
9bb5b60530
|
@ -92,6 +92,7 @@ func resourceOPCIPAddressReservationRead(d *schema.ResourceData, meta interface{
|
||||||
d.Set("name", result.Name)
|
d.Set("name", result.Name)
|
||||||
d.Set("description", result.Description)
|
d.Set("description", result.Description)
|
||||||
d.Set("ip_address_pool", result.IPAddressPool)
|
d.Set("ip_address_pool", result.IPAddressPool)
|
||||||
|
d.Set("ip_address", result.IPAddress)
|
||||||
d.Set("uri", result.Uri)
|
d.Set("uri", result.Uri)
|
||||||
|
|
||||||
if err := setStringList(d, "tags", result.Tags); err != nil {
|
if err := setStringList(d, "tags", result.Tags); err != nil {
|
||||||
|
|
7
vendor/github.com/hashicorp/terraform-provider-opc/opc/resource_ip_reservation.go
generated
vendored
7
vendor/github.com/hashicorp/terraform-provider-opc/opc/resource_ip_reservation.go
generated
vendored
|
@ -6,6 +6,7 @@ import (
|
||||||
|
|
||||||
"github.com/hashicorp/go-oracle-terraform/compute"
|
"github.com/hashicorp/go-oracle-terraform/compute"
|
||||||
"github.com/hashicorp/terraform/helper/schema"
|
"github.com/hashicorp/terraform/helper/schema"
|
||||||
|
"github.com/hashicorp/terraform/helper/validation"
|
||||||
)
|
)
|
||||||
|
|
||||||
func resourceOPCIPReservation() *schema.Resource {
|
func resourceOPCIPReservation() *schema.Resource {
|
||||||
|
@ -30,8 +31,12 @@ func resourceOPCIPReservation() *schema.Resource {
|
||||||
},
|
},
|
||||||
"parent_pool": {
|
"parent_pool": {
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Required: true,
|
Optional: true,
|
||||||
|
Default: string(compute.PublicReservationPool),
|
||||||
ForceNew: true,
|
ForceNew: true,
|
||||||
|
ValidateFunc: validation.StringInSlice([]string{
|
||||||
|
string(compute.PublicReservationPool),
|
||||||
|
}, true),
|
||||||
},
|
},
|
||||||
"tags": tagsForceNewSchema(),
|
"tags": tagsForceNewSchema(),
|
||||||
"ip": {
|
"ip": {
|
||||||
|
|
|
@ -2212,10 +2212,10 @@
|
||||||
"revisionTime": "2017-03-08T19:39:51Z"
|
"revisionTime": "2017-03-08T19:39:51Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "hLWb02UbO5qsAjY/ybjHn/hpTII=",
|
"checksumSHA1": "NWP140S/k5J2L9nLVVgrt9rEh1g=",
|
||||||
"path": "github.com/hashicorp/terraform-provider-opc/opc",
|
"path": "github.com/hashicorp/terraform-provider-opc/opc",
|
||||||
"revision": "6460e4eec5cffcc804fe9911860df0c13c5d945f",
|
"revision": "bf837a8edaadefbac871feb8560faa60f811c8d9",
|
||||||
"revisionTime": "2017-05-10T18:47:02Z"
|
"revisionTime": "2017-05-23T21:46:41Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "2fkVZIzvxIGBLhSiVnkTgGiqpQ4=",
|
"checksumSHA1": "2fkVZIzvxIGBLhSiVnkTgGiqpQ4=",
|
||||||
|
|
Loading…
Reference in New Issue