Skip to content

Commit 3475975

Browse files
committed
Enhance resource definitions by adding 'ForceNew' attribute to 'host_id' and 'network_id' fields in CloudConnexa application resources for improved resource management.
Signed-off-by: Denis Arslanbekov <denis@arslanbekov.com>
1 parent 154ce87 commit 3475975

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

cloudconnexa/resource_host_application.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ func resourceHostApplication() *schema.Resource {
5252
"host_id": {
5353
Type: schema.TypeString,
5454
Required: true,
55+
ForceNew: true,
5556
},
5657
},
5758
}

cloudconnexa/resource_network_application.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ func resourceNetworkApplication() *schema.Resource {
5252
"network_id": {
5353
Type: schema.TypeString,
5454
Required: true,
55+
ForceNew: true,
5556
},
5657
},
5758
}

0 commit comments

Comments
 (0)