Fix OpenStack provider idempotency bugs

This commit is contained in:
Guillaume Giamarchi 2015-10-07 22:15:54 +02:00
parent b0d9b5666c
commit e453decec8
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,