Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TestAccProvider *schema.Provider
View Source
var TestAccProviders map[string]*schema.Provider
Functions ¶
func CheckStateSetAttr ¶
func CheckStateSetAttr(attrKey string, resource string, expectedItems []string) resource.TestCheckFunc
Elements of lists and sets are stored in terraform state as independent variables with the sufix "_{index}". To check the value, we need to get the length of the list and iterate over it and get the list elements one by one and compare them with the values from the current test plan.
func TestAccPreCheck ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.