mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-08-27 13:55:41 +00:00
Add validation and diff suppression
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com> Signed-off-by: maidlover <117573165+maidl0ver@users.noreply.github.com>
This commit is contained in:
parent
5d3d4e1ccb
commit
d28df0c330
@ -359,7 +359,10 @@ func Container() *schema.Resource {
|
|||||||
Optional: true,
|
Optional: true,
|
||||||
Elem: &schema.Schema{
|
Elem: &schema.Schema{
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
|
ValidateFunc: validation.StringIsNotEmpty,
|
||||||
},
|
},
|
||||||
|
DiffSuppressFunc: structure.SuppressIfListsAreEqualIgnoringOrder,
|
||||||
|
DiffSuppressOnRefresh: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user