Merge pull request #14833 from hashicorp/f-update-opc-provider-vendor

provider/opc: update opc provider vendor
This commit is contained in:
Jake Champlin 2017-05-25 11:26:16 -04:00 committed by GitHub
commit 9bb5b60530
3 changed files with 10 additions and 4 deletions

View File

@ -92,6 +92,7 @@ func resourceOPCIPAddressReservationRead(d *schema.ResourceData, meta interface{
d.Set("name", result.Name)
d.Set("description", result.Description)
d.Set("ip_address_pool", result.IPAddressPool)
d.Set("ip_address", result.IPAddress)
d.Set("uri", result.Uri)
if err := setStringList(d, "tags", result.Tags); err != nil {

View File

@ -6,6 +6,7 @@ import (
"github.com/hashicorp/go-oracle-terraform/compute"
"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform/helper/validation"
)
func resourceOPCIPReservation() *schema.Resource {
@ -30,8 +31,12 @@ func resourceOPCIPReservation() *schema.Resource {
},
"parent_pool": {
Type: schema.TypeString,
Required: true,
Optional: true,
Default: string(compute.PublicReservationPool),
ForceNew: true,
ValidateFunc: validation.StringInSlice([]string{
string(compute.PublicReservationPool),
}, true),
},
"tags": tagsForceNewSchema(),
"ip": {

6
vendor/vendor.json vendored
View File

@ -2212,10 +2212,10 @@
"revisionTime": "2017-03-08T19:39:51Z"
},
{
"checksumSHA1": "hLWb02UbO5qsAjY/ybjHn/hpTII=",
"checksumSHA1": "NWP140S/k5J2L9nLVVgrt9rEh1g=",
"path": "github.com/hashicorp/terraform-provider-opc/opc",
"revision": "6460e4eec5cffcc804fe9911860df0c13c5d945f",
"revisionTime": "2017-05-10T18:47:02Z"
"revision": "bf837a8edaadefbac871feb8560faa60f811c8d9",
"revisionTime": "2017-05-23T21:46:41Z"
},
{
"checksumSHA1": "2fkVZIzvxIGBLhSiVnkTgGiqpQ4=",