Skip to content

Commit d11b9f6

Browse files
committed
missing force new
1 parent d2536a6 commit d11b9f6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ibm/service/vpc/resource_ibm_is_virtual_network_interface_floating_ip.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@ func ResourceIBMIsVirtualNetworkInterfaceFloatingIP() *schema.Resource {
2727
"virtual_network_interface": &schema.Schema{
2828
Type: schema.TypeString,
2929
Required: true,
30+
ForceNew: true,
3031
Description: "The virtual network interface identifier",
3132
},
3233
"floating_ip": &schema.Schema{
3334
Type: schema.TypeString,
35+
ForceNew: true,
3436
Required: true,
3537
Description: "The floating IP identifier",
3638
},
@@ -42,13 +44,13 @@ func ResourceIBMIsVirtualNetworkInterfaceFloatingIP() *schema.Resource {
4244

4345
"deleted": &schema.Schema{
4446
Type: schema.TypeList,
45-
Optional: true,
47+
Computed: true,
4648
Description: "If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.",
4749
Elem: &schema.Resource{
4850
Schema: map[string]*schema.Schema{
4951
"more_info": &schema.Schema{
5052
Type: schema.TypeString,
51-
Required: true,
53+
Computed: true,
5254
Description: "Link to documentation about deleted resources",
5355
},
5456
},

0 commit comments

Comments
 (0)