resource

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TwingateRemoteNetwork     = "twingate_remote_network"
	TwingateConnector         = "twingate_connector"
	TwingateConnectorTokens   = "twingate_connector_tokens"
	TwingateGroup             = "twingate_group"
	TwingateResource          = "twingate_resource"
	TwingateServiceAccount    = "twingate_service_account"
	TwingateServiceAccountKey = "twingate_service_account_key"
	TwingateUser              = "twingate_user"
)

Variables

View Source
var ErrAllowedToChangeOnlyManualUsers = fmt.Errorf("only users of type %s may be modified", model.UserTypeManual)
View Source
var ErrNotAllowChangeRemoteNetworkID = errors.New("connectors cannot be moved between Remote Networks: you must either create a new Connector or destroy and recreate the existing one")

Functions

func Connector

func Connector() *schema.Resource

func ConnectorTokens

func ConnectorTokens() *schema.Resource

func ErrAllowedToChangeOnlyManualGroups added in v0.3.3

func ErrAllowedToChangeOnlyManualGroups(group *model.Group) error

func ErrAttributeSet added in v0.3.0

func ErrAttributeSet(err error, attribute string) diag.Diagnostics

func Group

func Group() *schema.Resource

func RemoteNetwork

func RemoteNetwork() *schema.Resource

func Resource

func Resource() *schema.Resource

func ServiceAccount

func ServiceAccount() *schema.Resource

func ServiceKey

func ServiceKey() *schema.Resource

func User added in v1.1.0

func User() *schema.Resource

Types

This section is empty.

Jump to

Keyboard shortcuts

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