Skip to content

Commit

Permalink
Update nic field description (#619)
Browse files Browse the repository at this point in the history
  • Loading branch information
vicentepinto98 authored Dec 23, 2024
1 parent 3e94f00 commit 80c9e58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/resources/public_ip.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ resource "stackit_public_ip" "example" {
### Optional

- `labels` (Map of String) Labels are key-value string pairs which can be attached to a resource container
- `network_interface_id` (String) Associates the public IP with a network interface or a virtual IP (ID).
- `network_interface_id` (String) Associates the public IP with a network interface or a virtual IP (ID). If you are using this resource with a Kubernetes Load Balancer or any other resource which associates a network interface implicitly, use the lifecycle `ignore_changes` property in this field to prevent unintentional removal of the network interface due to drift in the Terraform state

### Read-Only

Expand Down
2 changes: 1 addition & 1 deletion stackit/internal/services/iaas/publicip/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func (r *publicIpResource) Schema(_ context.Context, _ resource.SchemaRequest, r
},
},
"network_interface_id": schema.StringAttribute{
Description: "Associates the public IP with a network interface or a virtual IP (ID).",
Description: "Associates the public IP with a network interface or a virtual IP (ID). If you are using this resource with a Kubernetes Load Balancer or any other resource which associates a network interface implicitly, use the lifecycle `ignore_changes` property in this field to prevent unintentional removal of the network interface due to drift in the Terraform state",
Optional: true,
Validators: []validator.String{
validate.UUID(),
Expand Down

0 comments on commit 80c9e58

Please sign in to comment.