Update nic field description (#619)

This commit is contained in:
Vicente Pinto 2024-12-23 12:35:02 +00:00 committed by GitHub
parent 3e94f00daa
commit 80c9e58052
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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(),