Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Template ¶
Template renders templates defined with {{.random}} placeholders. This is useful for acceptance tests. By introducing entropy to resources generated during the tests, we can run tests concurrently.
func TemplateMap ¶ added in v1.1.0
TemplateMap has the same behaviour as Template, but allows to pass a map of values instead of a single rand
func TestCheckResourceAttr ¶
func TestCheckResourceAttr(name, key, value, rand string) resource.TestCheckFunc
TestCheckResourceAttr is a TestCheckFunc which validates the value in state for the given name/key combination after applying a template over the value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.