Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSchemaBlock ¶ added in v0.25.0
func GetSchemaBlock( r *schema.Resource, d *schema.ResourceData, k []string, i int, allowDefault bool, ) (map[string]interface{}, error)
GetSchemaBlock returns a map[string]interface{} of a nested resource by key(s) from a schema.ResourceData.
func MergeSchema ¶
MergeSchema merges the map[string]*schema.Schema from src into dst. Panicking enforces safety against conflicts.
func SuppressIfListsAreEqualIgnoringOrder ¶ added in v0.25.0
func SuppressIfListsAreEqualIgnoringOrder(key, _, _ string, d *schema.ResourceData) bool
SuppressIfListsAreEqualIgnoringOrder is a customdiff.SuppressionFunc that suppresses changes to a list if the old and new lists are equal, ignoring the order of the elements. It will be called for each list item, so it is not super efficient. It is recommended to use it only for small lists. Ref: https://github.com/hashicorp/terraform-plugin-sdk/issues/477
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.