mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-08-25 12: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
@ -358,8 +358,11 @@ func Container() *schema.Resource {
|
||||
Description: "Extra mount options",
|
||||
Optional: true,
|
||||
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