validators

package
v2.3.6+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StringIsOneOf

func StringIsOneOf(valueDescription string, permittedValues ...string) schema.SchemaValidateFunc

StringIsOneOf creates a validator for Terraform schema values that ensures the supplied value is one of the specified strings.

func StringIsOneOfCaseInsensitive

func StringIsOneOfCaseInsensitive(valueDescription string, permittedValues ...string) schema.SchemaValidateFunc

StringIsOneOfCaseInsensitive creates a validator for Terraform schema values that ensures the supplied value is one of the specified strings (case-insensitive).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL