Merge pull request #3440 from ggiamarchi/openstack/idempotency

Fix OpenStack provider idempotency bugs
This commit is contained in:
Paul Hinze 2015-10-29 18:57:02 -05:00
commit fe2bf2d473
5 changed files with 5 additions and 2 deletions

View File

@ -40,7 +40,7 @@ func resourceFWFirewallV1() *schema.Resource {
"admin_state_up": &schema.Schema{
Type: schema.TypeBool,
Optional: true,
Default: true,
Computed: true,
},
"tenant_id": &schema.Schema{
Type: schema.TypeString,

View File

@ -68,6 +68,7 @@ func resourceLBMonitorV1() *schema.Resource {
Type: schema.TypeString,
Optional: true,
ForceNew: false,
Computed: true,
},
},
}

View File

@ -37,7 +37,7 @@ func resourceNetworkingFloatingIPV2() *schema.Resource {
"port_id": &schema.Schema{
Type: schema.TypeString,
Optional: true,
Default: "",
Computed: true,
},
},
}

View File

@ -32,6 +32,7 @@ func resourceNetworkingNetworkV2() *schema.Resource {
Type: schema.TypeString,
Optional: true,
ForceNew: false,
Computed: true,
},
"shared": &schema.Schema{
Type: schema.TypeString,

View File

@ -32,6 +32,7 @@ func resourceNetworkingRouterV2() *schema.Resource {
Type: schema.TypeBool,
Optional: true,
ForceNew: false,
Computed: true,
},
"external_gateway": &schema.Schema{
Type: schema.TypeString,