vault_database_secrets_mount

package
v0.0.0-...-4deecce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// AllowedManagedKeys: set of string, optional
	AllowedManagedKeys terra.SetValue[terra.StringValue] `hcl:"allowed_managed_keys,attr"`
	// AuditNonHmacRequestKeys: list of string, optional
	AuditNonHmacRequestKeys terra.ListValue[terra.StringValue] `hcl:"audit_non_hmac_request_keys,attr"`
	// AuditNonHmacResponseKeys: list of string, optional
	AuditNonHmacResponseKeys terra.ListValue[terra.StringValue] `hcl:"audit_non_hmac_response_keys,attr"`
	// DefaultLeaseTtlSeconds: number, optional
	DefaultLeaseTtlSeconds terra.NumberValue `hcl:"default_lease_ttl_seconds,attr"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// ExternalEntropyAccess: bool, optional
	ExternalEntropyAccess terra.BoolValue `hcl:"external_entropy_access,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Local: bool, optional
	Local terra.BoolValue `hcl:"local,attr"`
	// MaxLeaseTtlSeconds: number, optional
	MaxLeaseTtlSeconds terra.NumberValue `hcl:"max_lease_ttl_seconds,attr"`
	// Namespace: string, optional
	Namespace terra.StringValue `hcl:"namespace,attr"`
	// Options: map of string, optional
	Options terra.MapValue[terra.StringValue] `hcl:"options,attr"`
	// Path: string, required
	Path terra.StringValue `hcl:"path,attr" validate:"required"`
	// SealWrap: bool, optional
	SealWrap terra.BoolValue `hcl:"seal_wrap,attr"`
	// Cassandra: min=0
	Cassandra []Cassandra `hcl:"cassandra,block" validate:"min=0"`
	// Couchbase: min=0
	Couchbase []Couchbase `hcl:"couchbase,block" validate:"min=0"`
	// Elasticsearch: min=0
	Elasticsearch []Elasticsearch `hcl:"elasticsearch,block" validate:"min=0"`
	// Hana: min=0
	Hana []Hana `hcl:"hana,block" validate:"min=0"`
	// Influxdb: min=0
	Influxdb []Influxdb `hcl:"influxdb,block" validate:"min=0"`
	// Mongodb: min=0
	Mongodb []Mongodb `hcl:"mongodb,block" validate:"min=0"`
	// Mongodbatlas: min=0
	Mongodbatlas []Mongodbatlas `hcl:"mongodbatlas,block" validate:"min=0"`
	// Mssql: min=0
	Mssql []Mssql `hcl:"mssql,block" validate:"min=0"`
	// Mysql: min=0
	Mysql []Mysql `hcl:"mysql,block" validate:"min=0"`
	// MysqlAurora: min=0
	MysqlAurora []MysqlAurora `hcl:"mysql_aurora,block" validate:"min=0"`
	// MysqlLegacy: min=0
	MysqlLegacy []MysqlLegacy `hcl:"mysql_legacy,block" validate:"min=0"`
	// MysqlRds: min=0
	MysqlRds []MysqlRds `hcl:"mysql_rds,block" validate:"min=0"`
	// Oracle: min=0
	Oracle []Oracle `hcl:"oracle,block" validate:"min=0"`
	// Postgresql: min=0
	Postgresql []Postgresql `hcl:"postgresql,block" validate:"min=0"`
	// Redis: min=0
	Redis []Redis `hcl:"redis,block" validate:"min=0"`
	// RedisElasticache: min=0
	RedisElasticache []RedisElasticache `hcl:"redis_elasticache,block" validate:"min=0"`
	// Redshift: min=0
	Redshift []Redshift `hcl:"redshift,block" validate:"min=0"`
	// Snowflake: min=0
	Snowflake []Snowflake `hcl:"snowflake,block" validate:"min=0"`
}

Args contains the configurations for vault_database_secrets_mount.

type Cassandra

type Cassandra struct {
	// AllowedRoles: list of string, optional
	AllowedRoles terra.ListValue[terra.StringValue] `hcl:"allowed_roles,attr"`
	// ConnectTimeout: number, optional
	ConnectTimeout terra.NumberValue `hcl:"connect_timeout,attr"`
	// Data: map of string, optional
	Data terra.MapValue[terra.StringValue] `hcl:"data,attr"`
	// Hosts: list of string, optional
	Hosts terra.ListValue[terra.StringValue] `hcl:"hosts,attr"`
	// InsecureTls: bool, optional
	InsecureTls terra.BoolValue `hcl:"insecure_tls,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// PemBundle: string, optional
	PemBundle terra.StringValue `hcl:"pem_bundle,attr"`
	// PemJson: string, optional
	PemJson terra.StringValue `hcl:"pem_json,attr"`
	// PluginName: string, optional
	PluginName terra.StringValue `hcl:"plugin_name,attr"`
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// ProtocolVersion: number, optional
	ProtocolVersion terra.NumberValue `hcl:"protocol_version,attr"`
	// RootRotationStatements: list of string, optional
	RootRotationStatements terra.ListValue[terra.StringValue] `hcl:"root_rotation_statements,attr"`
	// Tls: bool, optional
	Tls terra.BoolValue `hcl:"tls,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
	// VerifyConnection: bool, optional
	VerifyConnection terra.BoolValue `hcl:"verify_connection,attr"`
}

type CassandraAttributes

type CassandraAttributes struct {
	// contains filtered or unexported fields
}

func (CassandraAttributes) AllowedRoles

func (CassandraAttributes) ConnectTimeout

func (c CassandraAttributes) ConnectTimeout() terra.NumberValue

func (CassandraAttributes) Data

func (CassandraAttributes) Hosts

func (CassandraAttributes) InsecureTls

func (c CassandraAttributes) InsecureTls() terra.BoolValue

func (CassandraAttributes) InternalRef

func (c CassandraAttributes) InternalRef() (terra.Reference, error)

func (CassandraAttributes) InternalTokens

func (c CassandraAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CassandraAttributes) InternalWithRef

func (c CassandraAttributes) InternalWithRef(ref terra.Reference) CassandraAttributes

func (CassandraAttributes) Name

func (CassandraAttributes) Password

func (c CassandraAttributes) Password() terra.StringValue

func (CassandraAttributes) PemBundle

func (c CassandraAttributes) PemBundle() terra.StringValue

func (CassandraAttributes) PemJson

func (CassandraAttributes) PluginName

func (c CassandraAttributes) PluginName() terra.StringValue

func (CassandraAttributes) Port

func (CassandraAttributes) ProtocolVersion

func (c CassandraAttributes) ProtocolVersion() terra.NumberValue

func (CassandraAttributes) RootRotationStatements

func (c CassandraAttributes) RootRotationStatements() terra.ListValue[terra.StringValue]

func (CassandraAttributes) Tls

func (CassandraAttributes) Username

func (c CassandraAttributes) Username() terra.StringValue

func (CassandraAttributes) VerifyConnection

func (c CassandraAttributes) VerifyConnection() terra.BoolValue

type CassandraState

type CassandraState struct {
	AllowedRoles           []string          `json:"allowed_roles"`
	ConnectTimeout         float64           `json:"connect_timeout"`
	Data                   map[string]string `json:"data"`
	Hosts                  []string          `json:"hosts"`
	InsecureTls            bool              `json:"insecure_tls"`
	Name                   string            `json:"name"`
	Password               string            `json:"password"`
	PemBundle              string            `json:"pem_bundle"`
	PemJson                string            `json:"pem_json"`
	PluginName             string            `json:"plugin_name"`
	Port                   float64           `json:"port"`
	ProtocolVersion        float64           `json:"protocol_version"`
	RootRotationStatements []string          `json:"root_rotation_statements"`
	Tls                    bool              `json:"tls"`
	Username               string            `json:"username"`
	VerifyConnection       bool              `json:"verify_connection"`
}

type Couchbase

type Couchbase struct {
	// AllowedRoles: list of string, optional
	AllowedRoles terra.ListValue[terra.StringValue] `hcl:"allowed_roles,attr"`
	// Base64Pem: string, optional
	Base64Pem terra.StringValue `hcl:"base64_pem,attr"`
	// BucketName: string, optional
	BucketName terra.StringValue `hcl:"bucket_name,attr"`
	// Data: map of string, optional
	Data terra.MapValue[terra.StringValue] `hcl:"data,attr"`
	// Hosts: list of string, required
	Hosts terra.ListValue[terra.StringValue] `hcl:"hosts,attr" validate:"required"`
	// InsecureTls: bool, optional
	InsecureTls terra.BoolValue `hcl:"insecure_tls,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Password: string, required
	Password terra.StringValue `hcl:"password,attr" validate:"required"`
	// PluginName: string, optional
	PluginName terra.StringValue `hcl:"plugin_name,attr"`
	// RootRotationStatements: list of string, optional
	RootRotationStatements terra.ListValue[terra.StringValue] `hcl:"root_rotation_statements,attr"`
	// Tls: bool, optional
	Tls terra.BoolValue `hcl:"tls,attr"`
	// Username: string, required
	Username terra.StringValue `hcl:"username,attr" validate:"required"`
	// UsernameTemplate: string, optional
	UsernameTemplate terra.StringValue `hcl:"username_template,attr"`
	// VerifyConnection: bool, optional
	VerifyConnection terra.BoolValue `hcl:"verify_connection,attr"`
}

type CouchbaseAttributes

type CouchbaseAttributes struct {
	// contains filtered or unexported fields
}

func (CouchbaseAttributes) AllowedRoles

func (CouchbaseAttributes) Base64Pem

func (c CouchbaseAttributes) Base64Pem() terra.StringValue

func (CouchbaseAttributes) BucketName

func (c CouchbaseAttributes) BucketName() terra.StringValue

func (CouchbaseAttributes) Data

func (CouchbaseAttributes) Hosts

func (CouchbaseAttributes) InsecureTls

func (c CouchbaseAttributes) InsecureTls() terra.BoolValue

func (CouchbaseAttributes) InternalRef

func (c CouchbaseAttributes) InternalRef() (terra.Reference, error)

func (CouchbaseAttributes) InternalTokens

func (c CouchbaseAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CouchbaseAttributes) InternalWithRef

func (c CouchbaseAttributes) InternalWithRef(ref terra.Reference) CouchbaseAttributes

func (CouchbaseAttributes) Name

func (CouchbaseAttributes) Password

func (c CouchbaseAttributes) Password() terra.StringValue

func (CouchbaseAttributes) PluginName

func (c CouchbaseAttributes) PluginName() terra.StringValue

func (CouchbaseAttributes) RootRotationStatements

func (c CouchbaseAttributes) RootRotationStatements() terra.ListValue[terra.StringValue]

func (CouchbaseAttributes) Tls

func (CouchbaseAttributes) Username

func (c CouchbaseAttributes) Username() terra.StringValue

func (CouchbaseAttributes) UsernameTemplate

func (c CouchbaseAttributes) UsernameTemplate() terra.StringValue

func (CouchbaseAttributes) VerifyConnection

func (c CouchbaseAttributes) VerifyConnection() terra.BoolValue

type CouchbaseState

type CouchbaseState struct {
	AllowedRoles           []string          `json:"allowed_roles"`
	Base64Pem              string            `json:"base64_pem"`
	BucketName             string            `json:"bucket_name"`
	Data                   map[string]string `json:"data"`
	Hosts                  []string          `json:"hosts"`
	InsecureTls            bool              `json:"insecure_tls"`
	Name                   string            `json:"name"`
	Password               string            `json:"password"`
	PluginName             string            `json:"plugin_name"`
	RootRotationStatements []string          `json:"root_rotation_statements"`
	Tls                    bool              `json:"tls"`
	Username               string            `json:"username"`
	UsernameTemplate       string            `json:"username_template"`
	VerifyConnection       bool              `json:"verify_connection"`
}

type Elasticsearch

type Elasticsearch struct {
	// AllowedRoles: list of string, optional
	AllowedRoles terra.ListValue[terra.StringValue] `hcl:"allowed_roles,attr"`
	// CaCert: string, optional
	CaCert terra.StringValue `hcl:"ca_cert,attr"`
	// CaPath: string, optional
	CaPath terra.StringValue `hcl:"ca_path,attr"`
	// ClientCert: string, optional
	ClientCert terra.StringValue `hcl:"client_cert,attr"`
	// ClientKey: string, optional
	ClientKey terra.StringValue `hcl:"client_key,attr"`
	// Data: map of string, optional
	Data terra.MapValue[terra.StringValue] `hcl:"data,attr"`
	// Insecure: bool, optional
	Insecure terra.BoolValue `hcl:"insecure,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Password: string, required
	Password terra.StringValue `hcl:"password,attr" validate:"required"`
	// PluginName: string, optional
	PluginName terra.StringValue `hcl:"plugin_name,attr"`
	// RootRotationStatements: list of string, optional
	RootRotationStatements terra.ListValue[terra.StringValue] `hcl:"root_rotation_statements,attr"`
	// TlsServerName: string, optional
	TlsServerName terra.StringValue `hcl:"tls_server_name,attr"`
	// Url: string, required
	Url terra.StringValue `hcl:"url,attr" validate:"required"`
	// Username: string, required
	Username terra.StringValue `hcl:"username,attr" validate:"required"`
	// UsernameTemplate: string, optional
	UsernameTemplate terra.StringValue `hcl:"username_template,attr"`
	// VerifyConnection: bool, optional
	VerifyConnection terra.BoolValue `hcl:"verify_connection,attr"`
}

type ElasticsearchAttributes

type ElasticsearchAttributes struct {
	// contains filtered or unexported fields
}

func (ElasticsearchAttributes) AllowedRoles

func (ElasticsearchAttributes) CaCert

func (ElasticsearchAttributes) CaPath

func (ElasticsearchAttributes) ClientCert

func (e ElasticsearchAttributes) ClientCert() terra.StringValue

func (ElasticsearchAttributes) ClientKey

func (ElasticsearchAttributes) Data

func (ElasticsearchAttributes) Insecure

func (ElasticsearchAttributes) InternalRef

func (e ElasticsearchAttributes) InternalRef() (terra.Reference, error)

func (ElasticsearchAttributes) InternalTokens

func (e ElasticsearchAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ElasticsearchAttributes) InternalWithRef

func (ElasticsearchAttributes) Name

func (ElasticsearchAttributes) Password

func (ElasticsearchAttributes) PluginName

func (e ElasticsearchAttributes) PluginName() terra.StringValue

func (ElasticsearchAttributes) RootRotationStatements

func (e ElasticsearchAttributes) RootRotationStatements() terra.ListValue[terra.StringValue]

func (ElasticsearchAttributes) TlsServerName

func (e ElasticsearchAttributes) TlsServerName() terra.StringValue

func (ElasticsearchAttributes) Url

func (ElasticsearchAttributes) Username

func (ElasticsearchAttributes) UsernameTemplate

func (e ElasticsearchAttributes) UsernameTemplate() terra.StringValue

func (ElasticsearchAttributes) VerifyConnection

func (e ElasticsearchAttributes) VerifyConnection() terra.BoolValue

type ElasticsearchState

type ElasticsearchState struct {
	AllowedRoles           []string          `json:"allowed_roles"`
	CaCert                 string            `json:"ca_cert"`
	CaPath                 string            `json:"ca_path"`
	ClientCert             string            `json:"client_cert"`
	ClientKey              string            `json:"client_key"`
	Data                   map[string]string `json:"data"`
	Insecure               bool              `json:"insecure"`
	Name                   string            `json:"name"`
	Password               string            `json:"password"`
	PluginName             string            `json:"plugin_name"`
	RootRotationStatements []string          `json:"root_rotation_statements"`
	TlsServerName          string            `json:"tls_server_name"`
	Url                    string            `json:"url"`
	Username               string            `json:"username"`
	UsernameTemplate       string            `json:"username_template"`
	VerifyConnection       bool              `json:"verify_connection"`
}

type Hana

type Hana struct {
	// AllowedRoles: list of string, optional
	AllowedRoles terra.ListValue[terra.StringValue] `hcl:"allowed_roles,attr"`
	// ConnectionUrl: string, optional
	ConnectionUrl terra.StringValue `hcl:"connection_url,attr"`
	// Data: map of string, optional
	Data terra.MapValue[terra.StringValue] `hcl:"data,attr"`
	// DisableEscaping: bool, optional
	DisableEscaping terra.BoolValue `hcl:"disable_escaping,attr"`
	// MaxConnectionLifetime: number, optional
	MaxConnectionLifetime terra.NumberValue `hcl:"max_connection_lifetime,attr"`
	// MaxIdleConnections: number, optional
	MaxIdleConnections terra.NumberValue `hcl:"max_idle_connections,attr"`
	// MaxOpenConnections: number, optional
	MaxOpenConnections terra.NumberValue `hcl:"max_open_connections,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// PluginName: string, optional
	PluginName terra.StringValue `hcl:"plugin_name,attr"`
	// RootRotationStatements: list of string, optional
	RootRotationStatements terra.ListValue[terra.StringValue] `hcl:"root_rotation_statements,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
	// VerifyConnection: bool, optional
	VerifyConnection terra.BoolValue `hcl:"verify_connection,attr"`
}

type HanaAttributes

type HanaAttributes struct {
	// contains filtered or unexported fields
}

func (HanaAttributes) AllowedRoles

func (h HanaAttributes) AllowedRoles() terra.ListValue[terra.StringValue]

func (HanaAttributes) ConnectionUrl

func (h HanaAttributes) ConnectionUrl() terra.StringValue

func (HanaAttributes) Data

func (HanaAttributes) DisableEscaping

func (h HanaAttributes) DisableEscaping() terra.BoolValue

func (HanaAttributes) InternalRef

func (h HanaAttributes) InternalRef() (terra.Reference, error)

func (HanaAttributes) InternalTokens

func (h HanaAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HanaAttributes) InternalWithRef

func (h HanaAttributes) InternalWithRef(ref terra.Reference) HanaAttributes

func (HanaAttributes) MaxConnectionLifetime

func (h HanaAttributes) MaxConnectionLifetime() terra.NumberValue

func (HanaAttributes) MaxIdleConnections

func (h HanaAttributes) MaxIdleConnections() terra.NumberValue

func (HanaAttributes) MaxOpenConnections

func (h HanaAttributes) MaxOpenConnections() terra.NumberValue

func (HanaAttributes) Name

func (h HanaAttributes) Name() terra.StringValue

func (HanaAttributes) Password

func (h HanaAttributes) Password() terra.StringValue

func (HanaAttributes) PluginName

func (h HanaAttributes) PluginName() terra.StringValue

func (HanaAttributes) RootRotationStatements

func (h HanaAttributes) RootRotationStatements() terra.ListValue[terra.StringValue]

func (HanaAttributes) Username

func (h HanaAttributes) Username() terra.StringValue

func (HanaAttributes) VerifyConnection

func (h HanaAttributes) VerifyConnection() terra.BoolValue

type HanaState

type HanaState struct {
	AllowedRoles           []string          `json:"allowed_roles"`
	ConnectionUrl          string            `json:"connection_url"`
	Data                   map[string]string `json:"data"`
	DisableEscaping        bool              `json:"disable_escaping"`
	MaxConnectionLifetime  float64           `json:"max_connection_lifetime"`
	MaxIdleConnections     float64           `json:"max_idle_connections"`
	MaxOpenConnections     float64           `json:"max_open_connections"`
	Name                   string            `json:"name"`
	Password               string            `json:"password"`
	PluginName             string            `json:"plugin_name"`
	RootRotationStatements []string          `json:"root_rotation_statements"`
	Username               string            `json:"username"`
	VerifyConnection       bool              `json:"verify_connection"`
}

type Influxdb

type Influxdb struct {
	// AllowedRoles: list of string, optional
	AllowedRoles terra.ListValue[terra.StringValue] `hcl:"allowed_roles,attr"`
	// ConnectTimeout: number, optional
	ConnectTimeout terra.NumberValue `hcl:"connect_timeout,attr"`
	// Data: map of string, optional
	Data terra.MapValue[terra.StringValue] `hcl:"data,attr"`
	// Host: string, required
	Host terra.StringValue `hcl:"host,attr" validate:"required"`
	// InsecureTls: bool, optional
	InsecureTls terra.BoolValue `hcl:"insecure_tls,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Password: string, required
	Password terra.StringValue `hcl:"password,attr" validate:"required"`
	// PemBundle: string, optional
	PemBundle terra.StringValue `hcl:"pem_bundle,attr"`
	// PemJson: string, optional
	PemJson terra.StringValue `hcl:"pem_json,attr"`
	// PluginName: string, optional
	PluginName terra.StringValue `hcl:"plugin_name,attr"`
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// RootRotationStatements: list of string, optional
	RootRotationStatements terra.ListValue[terra.StringValue] `hcl:"root_rotation_statements,attr"`
	// Tls: bool, optional
	Tls terra.BoolValue `hcl:"tls,attr"`
	// Username: string, required
	Username terra.StringValue `hcl:"username,attr" validate:"required"`
	// UsernameTemplate: string, optional
	UsernameTemplate terra.StringValue `hcl:"username_template,attr"`
	// VerifyConnection: bool, optional
	VerifyConnection terra.BoolValue `hcl:"verify_connection,attr"`
}

type InfluxdbAttributes

type InfluxdbAttributes struct {
	// contains filtered or unexported fields
}

func (InfluxdbAttributes) AllowedRoles

func (InfluxdbAttributes) ConnectTimeout

func (i InfluxdbAttributes) ConnectTimeout() terra.NumberValue

func (InfluxdbAttributes) Data

func (InfluxdbAttributes) Host

func (InfluxdbAttributes) InsecureTls

func (i InfluxdbAttributes) InsecureTls() terra.BoolValue

func (InfluxdbAttributes) InternalRef

func (i InfluxdbAttributes) InternalRef() (terra.Reference, error)

func (InfluxdbAttributes) InternalTokens

func (i InfluxdbAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InfluxdbAttributes) InternalWithRef

func (i InfluxdbAttributes) InternalWithRef(ref terra.Reference) InfluxdbAttributes

func (InfluxdbAttributes) Name

func (InfluxdbAttributes) Password

func (i InfluxdbAttributes) Password() terra.StringValue

func (InfluxdbAttributes) PemBundle

func (i InfluxdbAttributes) PemBundle() terra.StringValue

func (InfluxdbAttributes) PemJson

func (i InfluxdbAttributes) PemJson() terra.StringValue

func (InfluxdbAttributes) PluginName

func (i InfluxdbAttributes) PluginName() terra.StringValue

func (InfluxdbAttributes) Port

func (InfluxdbAttributes) RootRotationStatements

func (i InfluxdbAttributes) RootRotationStatements() terra.ListValue[terra.StringValue]

func (InfluxdbAttributes) Tls

func (InfluxdbAttributes) Username

func (i InfluxdbAttributes) Username() terra.StringValue

func (InfluxdbAttributes) UsernameTemplate

func (i InfluxdbAttributes) UsernameTemplate() terra.StringValue

func (InfluxdbAttributes) VerifyConnection

func (i InfluxdbAttributes) VerifyConnection() terra.BoolValue

type InfluxdbState

type InfluxdbState struct {
	AllowedRoles           []string          `json:"allowed_roles"`
	ConnectTimeout         float64           `json:"connect_timeout"`
	Data                   map[string]string `json:"data"`
	Host                   string            `json:"host"`
	InsecureTls            bool              `json:"insecure_tls"`
	Name                   string            `json:"name"`
	Password               string            `json:"password"`
	PemBundle              string            `json:"pem_bundle"`
	PemJson                string            `json:"pem_json"`
	PluginName             string            `json:"plugin_name"`
	Port                   float64           `json:"port"`
	RootRotationStatements []string          `json:"root_rotation_statements"`
	Tls                    bool              `json:"tls"`
	Username               string            `json:"username"`
	UsernameTemplate       string            `json:"username_template"`
	VerifyConnection       bool              `json:"verify_connection"`
}

type Mongodb

type Mongodb struct {
	// AllowedRoles: list of string, optional
	AllowedRoles terra.ListValue[terra.StringValue] `hcl:"allowed_roles,attr"`
	// ConnectionUrl: string, optional
	ConnectionUrl terra.StringValue `hcl:"connection_url,attr"`
	// Data: map of string, optional
	Data terra.MapValue[terra.StringValue] `hcl:"data,attr"`
	// MaxConnectionLifetime: number, optional
	MaxConnectionLifetime terra.NumberValue `hcl:"max_connection_lifetime,attr"`
	// MaxIdleConnections: number, optional
	MaxIdleConnections terra.NumberValue `hcl:"max_idle_connections,attr"`
	// MaxOpenConnections: number, optional
	MaxOpenConnections terra.NumberValue `hcl:"max_open_connections,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// PluginName: string, optional
	PluginName terra.StringValue `hcl:"plugin_name,attr"`
	// RootRotationStatements: list of string, optional
	RootRotationStatements terra.ListValue[terra.StringValue] `hcl:"root_rotation_statements,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
	// UsernameTemplate: string, optional
	UsernameTemplate terra.StringValue `hcl:"username_template,attr"`
	// VerifyConnection: bool, optional
	VerifyConnection terra.BoolValue `hcl:"verify_connection,attr"`
}

type MongodbAttributes

type MongodbAttributes struct {
	// contains filtered or unexported fields
}

func (MongodbAttributes) AllowedRoles

func (MongodbAttributes) ConnectionUrl

func (m MongodbAttributes) ConnectionUrl() terra.StringValue

func (MongodbAttributes) Data

func (MongodbAttributes) InternalRef

func (m MongodbAttributes) InternalRef() (terra.Reference, error)

func (MongodbAttributes) InternalTokens

func (m MongodbAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MongodbAttributes) InternalWithRef

func (m MongodbAttributes) InternalWithRef(ref terra.Reference) MongodbAttributes

func (MongodbAttributes) MaxConnectionLifetime

func (m MongodbAttributes) MaxConnectionLifetime() terra.NumberValue

func (MongodbAttributes) MaxIdleConnections

func (m MongodbAttributes) MaxIdleConnections() terra.NumberValue

func (MongodbAttributes) MaxOpenConnections

func (m MongodbAttributes) MaxOpenConnections() terra.NumberValue

func (MongodbAttributes) Name

func (MongodbAttributes) Password

func (m MongodbAttributes) Password() terra.StringValue

func (MongodbAttributes) PluginName

func (m MongodbAttributes) PluginName() terra.StringValue

func (MongodbAttributes) RootRotationStatements

func (m MongodbAttributes) RootRotationStatements() terra.ListValue[terra.StringValue]

func (MongodbAttributes) Username

func (m MongodbAttributes) Username() terra.StringValue

func (MongodbAttributes) UsernameTemplate

func (m MongodbAttributes) UsernameTemplate() terra.StringValue

func (MongodbAttributes) VerifyConnection

func (m MongodbAttributes) VerifyConnection() terra.BoolValue

type MongodbState

type MongodbState struct {
	AllowedRoles           []string          `json:"allowed_roles"`
	ConnectionUrl          string            `json:"connection_url"`
	Data                   map[string]string `json:"data"`
	MaxConnectionLifetime  float64           `json:"max_connection_lifetime"`
	MaxIdleConnections     float64           `json:"max_idle_connections"`
	MaxOpenConnections     float64           `json:"max_open_connections"`
	Name                   string            `json:"name"`
	Password               string            `json:"password"`
	PluginName             string            `json:"plugin_name"`
	RootRotationStatements []string          `json:"root_rotation_statements"`
	Username               string            `json:"username"`
	UsernameTemplate       string            `json:"username_template"`
	VerifyConnection       bool              `json:"verify_connection"`
}

type Mongodbatlas

type Mongodbatlas struct {
	// AllowedRoles: list of string, optional
	AllowedRoles terra.ListValue[terra.StringValue] `hcl:"allowed_roles,attr"`
	// Data: map of string, optional
	Data terra.MapValue[terra.StringValue] `hcl:"data,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// PluginName: string, optional
	PluginName terra.StringValue `hcl:"plugin_name,attr"`
	// PrivateKey: string, required
	PrivateKey terra.StringValue `hcl:"private_key,attr" validate:"required"`
	// ProjectId: string, required
	ProjectId terra.StringValue `hcl:"project_id,attr" validate:"required"`
	// PublicKey: string, required
	PublicKey terra.StringValue `hcl:"public_key,attr" validate:"required"`
	// RootRotationStatements: list of string, optional
	RootRotationStatements terra.ListValue[terra.StringValue] `hcl:"root_rotation_statements,attr"`
	// VerifyConnection: bool, optional
	VerifyConnection terra.BoolValue `hcl:"verify_connection,attr"`
}

type MongodbatlasAttributes

type MongodbatlasAttributes struct {
	// contains filtered or unexported fields
}

func (MongodbatlasAttributes) AllowedRoles

func (MongodbatlasAttributes) Data

func (MongodbatlasAttributes) InternalRef

func (m MongodbatlasAttributes) InternalRef() (terra.Reference, error)

func (MongodbatlasAttributes) InternalTokens

func (m MongodbatlasAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MongodbatlasAttributes) InternalWithRef

func (MongodbatlasAttributes) Name

func (MongodbatlasAttributes) PluginName

func (m MongodbatlasAttributes) PluginName() terra.StringValue

func (MongodbatlasAttributes) PrivateKey

func (m MongodbatlasAttributes) PrivateKey() terra.StringValue

func (MongodbatlasAttributes) ProjectId

func (MongodbatlasAttributes) PublicKey

func (MongodbatlasAttributes) RootRotationStatements

func (m MongodbatlasAttributes) RootRotationStatements() terra.ListValue[terra.StringValue]

func (MongodbatlasAttributes) VerifyConnection

func (m MongodbatlasAttributes) VerifyConnection() terra.BoolValue

type MongodbatlasState

type MongodbatlasState struct {
	AllowedRoles           []string          `json:"allowed_roles"`
	Data                   map[string]string `json:"data"`
	Name                   string            `json:"name"`
	PluginName             string            `json:"plugin_name"`
	PrivateKey             string            `json:"private_key"`
	ProjectId              string            `json:"project_id"`
	PublicKey              string            `json:"public_key"`
	RootRotationStatements []string          `json:"root_rotation_statements"`
	VerifyConnection       bool              `json:"verify_connection"`
}

type Mssql

type Mssql struct {
	// AllowedRoles: list of string, optional
	AllowedRoles terra.ListValue[terra.StringValue] `hcl:"allowed_roles,attr"`
	// ConnectionUrl: string, optional
	ConnectionUrl terra.StringValue `hcl:"connection_url,attr"`
	// ContainedDb: bool, optional
	ContainedDb terra.BoolValue `hcl:"contained_db,attr"`
	// Data: map of string, optional
	Data terra.MapValue[terra.StringValue] `hcl:"data,attr"`
	// DisableEscaping: bool, optional
	DisableEscaping terra.BoolValue `hcl:"disable_escaping,attr"`
	// MaxConnectionLifetime: number, optional
	MaxConnectionLifetime terra.NumberValue `hcl:"max_connection_lifetime,attr"`
	// MaxIdleConnections: number, optional
	MaxIdleConnections terra.NumberValue `hcl:"max_idle_connections,attr"`
	// MaxOpenConnections: number, optional
	MaxOpenConnections terra.NumberValue `hcl:"max_open_connections,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// PluginName: string, optional
	PluginName terra.StringValue `hcl:"plugin_name,attr"`
	// RootRotationStatements: list of string, optional
	RootRotationStatements terra.ListValue[terra.StringValue] `hcl:"root_rotation_statements,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
	// UsernameTemplate: string, optional
	UsernameTemplate terra.StringValue `hcl:"username_template,attr"`
	// VerifyConnection: bool, optional
	VerifyConnection terra.BoolValue `hcl:"verify_connection,attr"`
}

type MssqlAttributes

type MssqlAttributes struct {
	// contains filtered or unexported fields
}

func (MssqlAttributes) AllowedRoles

func (m MssqlAttributes) AllowedRoles() terra.ListValue[terra.StringValue]

func (MssqlAttributes) ConnectionUrl

func (m MssqlAttributes) ConnectionUrl() terra.StringValue

func (MssqlAttributes) ContainedDb

func (m MssqlAttributes) ContainedDb() terra.BoolValue

func (MssqlAttributes) Data

func (MssqlAttributes) DisableEscaping

func (m MssqlAttributes) DisableEscaping() terra.BoolValue

func (MssqlAttributes) InternalRef

func (m MssqlAttributes) InternalRef() (terra.Reference, error)

func (MssqlAttributes) InternalTokens

func (m MssqlAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MssqlAttributes) InternalWithRef

func (m MssqlAttributes) InternalWithRef(ref terra.Reference) MssqlAttributes

func (MssqlAttributes) MaxConnectionLifetime

func (m MssqlAttributes) MaxConnectionLifetime() terra.NumberValue

func (MssqlAttributes) MaxIdleConnections

func (m MssqlAttributes) MaxIdleConnections() terra.NumberValue

func (MssqlAttributes) MaxOpenConnections

func (m MssqlAttributes) MaxOpenConnections() terra.NumberValue

func (MssqlAttributes) Name

func (MssqlAttributes) Password

func (m MssqlAttributes) Password() terra.StringValue

func (MssqlAttributes) PluginName

func (m MssqlAttributes) PluginName() terra.StringValue

func (MssqlAttributes) RootRotationStatements

func (m MssqlAttributes) RootRotationStatements() terra.ListValue[terra.StringValue]

func (MssqlAttributes) Username

func (m MssqlAttributes) Username() terra.StringValue

func (MssqlAttributes) UsernameTemplate

func (m MssqlAttributes) UsernameTemplate() terra.StringValue

func (MssqlAttributes) VerifyConnection

func (m MssqlAttributes) VerifyConnection() terra.BoolValue

type MssqlState

type MssqlState struct {
	AllowedRoles           []string          `json:"allowed_roles"`
	ConnectionUrl          string            `json:"connection_url"`
	ContainedDb            bool              `json:"contained_db"`
	Data                   map[string]string `json:"data"`
	DisableEscaping        bool              `json:"disable_escaping"`
	MaxConnectionLifetime  float64           `json:"max_connection_lifetime"`
	MaxIdleConnections     float64           `json:"max_idle_connections"`
	MaxOpenConnections     float64           `json:"max_open_connections"`
	Name                   string            `json:"name"`
	Password               string            `json:"password"`
	PluginName             string            `json:"plugin_name"`
	RootRotationStatements []string          `json:"root_rotation_statements"`
	Username               string            `json:"username"`
	UsernameTemplate       string            `json:"username_template"`
	VerifyConnection       bool              `json:"verify_connection"`
}

type Mysql

type Mysql struct {
	// AllowedRoles: list of string, optional
	AllowedRoles terra.ListValue[terra.StringValue] `hcl:"allowed_roles,attr"`
	// AuthType: string, optional
	AuthType terra.StringValue `hcl:"auth_type,attr"`
	// ConnectionUrl: string, optional
	ConnectionUrl terra.StringValue `hcl:"connection_url,attr"`
	// Data: map of string, optional
	Data terra.MapValue[terra.StringValue] `hcl:"data,attr"`
	// MaxConnectionLifetime: number, optional
	MaxConnectionLifetime terra.NumberValue `hcl:"max_connection_lifetime,attr"`
	// MaxIdleConnections: number, optional
	MaxIdleConnections terra.NumberValue `hcl:"max_idle_connections,attr"`
	// MaxOpenConnections: number, optional
	MaxOpenConnections terra.NumberValue `hcl:"max_open_connections,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// PluginName: string, optional
	PluginName terra.StringValue `hcl:"plugin_name,attr"`
	// RootRotationStatements: list of string, optional
	RootRotationStatements terra.ListValue[terra.StringValue] `hcl:"root_rotation_statements,attr"`
	// ServiceAccountJson: string, optional
	ServiceAccountJson terra.StringValue `hcl:"service_account_json,attr"`
	// TlsCa: string, optional
	TlsCa terra.StringValue `hcl:"tls_ca,attr"`
	// TlsCertificateKey: string, optional
	TlsCertificateKey terra.StringValue `hcl:"tls_certificate_key,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
	// UsernameTemplate: string, optional
	UsernameTemplate terra.StringValue `hcl:"username_template,attr"`
	// VerifyConnection: bool, optional
	VerifyConnection terra.BoolValue `hcl:"verify_connection,attr"`
}

type MysqlAttributes

type MysqlAttributes struct {
	// contains filtered or unexported fields
}

func (MysqlAttributes) AllowedRoles

func (m MysqlAttributes) AllowedRoles() terra.ListValue[terra.StringValue]

func (MysqlAttributes) AuthType

func (m MysqlAttributes) AuthType() terra.StringValue

func (MysqlAttributes) ConnectionUrl

func (m MysqlAttributes) ConnectionUrl() terra.StringValue

func (MysqlAttributes) Data

func (MysqlAttributes) InternalRef

func (m MysqlAttributes) InternalRef() (terra.Reference, error)

func (MysqlAttributes) InternalTokens

func (m MysqlAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MysqlAttributes) InternalWithRef

func (m MysqlAttributes) InternalWithRef(ref terra.Reference) MysqlAttributes

func (MysqlAttributes) MaxConnectionLifetime

func (m MysqlAttributes) MaxConnectionLifetime() terra.NumberValue

func (MysqlAttributes) MaxIdleConnections

func (m MysqlAttributes) MaxIdleConnections() terra.NumberValue

func (MysqlAttributes) MaxOpenConnections

func (m MysqlAttributes) MaxOpenConnections() terra.NumberValue

func (MysqlAttributes) Name

func (MysqlAttributes) Password

func (m MysqlAttributes) Password() terra.StringValue

func (MysqlAttributes) PluginName

func (m MysqlAttributes) PluginName() terra.StringValue

func (MysqlAttributes) RootRotationStatements

func (m MysqlAttributes) RootRotationStatements() terra.ListValue[terra.StringValue]

func (MysqlAttributes) ServiceAccountJson

func (m MysqlAttributes) ServiceAccountJson() terra.StringValue

func (MysqlAttributes) TlsCa

func (m MysqlAttributes) TlsCa() terra.StringValue

func (MysqlAttributes) TlsCertificateKey

func (m MysqlAttributes) TlsCertificateKey() terra.StringValue

func (MysqlAttributes) Username

func (m MysqlAttributes) Username() terra.StringValue

func (MysqlAttributes) UsernameTemplate

func (m MysqlAttributes) UsernameTemplate() terra.StringValue

func (MysqlAttributes) VerifyConnection

func (m MysqlAttributes) VerifyConnection() terra.BoolValue

type MysqlAurora

type MysqlAurora struct {
	// AllowedRoles: list of string, optional
	AllowedRoles terra.ListValue[terra.StringValue] `hcl:"allowed_roles,attr"`
	// AuthType: string, optional
	AuthType terra.StringValue `hcl:"auth_type,attr"`
	// ConnectionUrl: string, optional
	ConnectionUrl terra.StringValue `hcl:"connection_url,attr"`
	// Data: map of string, optional
	Data terra.MapValue[terra.StringValue] `hcl:"data,attr"`
	// MaxConnectionLifetime: number, optional
	MaxConnectionLifetime terra.NumberValue `hcl:"max_connection_lifetime,attr"`
	// MaxIdleConnections: number, optional
	MaxIdleConnections terra.NumberValue `hcl:"max_idle_connections,attr"`
	// MaxOpenConnections: number, optional
	MaxOpenConnections terra.NumberValue `hcl:"max_open_connections,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// PluginName: string, optional
	PluginName terra.StringValue `hcl:"plugin_name,attr"`
	// RootRotationStatements: list of string, optional
	RootRotationStatements terra.ListValue[terra.StringValue] `hcl:"root_rotation_statements,attr"`
	// ServiceAccountJson: string, optional
	ServiceAccountJson terra.StringValue `hcl:"service_account_json,attr"`
	// TlsCa: string, optional
	TlsCa terra.StringValue `hcl:"tls_ca,attr"`
	// TlsCertificateKey: string, optional
	TlsCertificateKey terra.StringValue `hcl:"tls_certificate_key,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
	// UsernameTemplate: string, optional
	UsernameTemplate terra.StringValue `hcl:"username_template,attr"`
	// VerifyConnection: bool, optional
	VerifyConnection terra.BoolValue `hcl:"verify_connection,attr"`
}

type MysqlAuroraAttributes

type MysqlAuroraAttributes struct {
	// contains filtered or unexported fields
}

func (MysqlAuroraAttributes) AllowedRoles

func (MysqlAuroraAttributes) AuthType

func (ma MysqlAuroraAttributes) AuthType() terra.StringValue

func (MysqlAuroraAttributes) ConnectionUrl

func (ma MysqlAuroraAttributes) ConnectionUrl() terra.StringValue

func (MysqlAuroraAttributes) Data

func (MysqlAuroraAttributes) InternalRef

func (ma MysqlAuroraAttributes) InternalRef() (terra.Reference, error)

func (MysqlAuroraAttributes) InternalTokens

func (ma MysqlAuroraAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MysqlAuroraAttributes) InternalWithRef

func (MysqlAuroraAttributes) MaxConnectionLifetime

func (ma MysqlAuroraAttributes) MaxConnectionLifetime() terra.NumberValue

func (MysqlAuroraAttributes) MaxIdleConnections

func (ma MysqlAuroraAttributes) MaxIdleConnections() terra.NumberValue

func (MysqlAuroraAttributes) MaxOpenConnections

func (ma MysqlAuroraAttributes) MaxOpenConnections() terra.NumberValue

func (MysqlAuroraAttributes) Name

func (MysqlAuroraAttributes) Password

func (ma MysqlAuroraAttributes) Password() terra.StringValue

func (MysqlAuroraAttributes) PluginName

func (ma MysqlAuroraAttributes) PluginName() terra.StringValue

func (MysqlAuroraAttributes) RootRotationStatements

func (ma MysqlAuroraAttributes) RootRotationStatements() terra.ListValue[terra.StringValue]

func (MysqlAuroraAttributes) ServiceAccountJson

func (ma MysqlAuroraAttributes) ServiceAccountJson() terra.StringValue

func (MysqlAuroraAttributes) TlsCa

func (MysqlAuroraAttributes) TlsCertificateKey

func (ma MysqlAuroraAttributes) TlsCertificateKey() terra.StringValue

func (MysqlAuroraAttributes) Username

func (ma MysqlAuroraAttributes) Username() terra.StringValue

func (MysqlAuroraAttributes) UsernameTemplate

func (ma MysqlAuroraAttributes) UsernameTemplate() terra.StringValue

func (MysqlAuroraAttributes) VerifyConnection

func (ma MysqlAuroraAttributes) VerifyConnection() terra.BoolValue

type MysqlAuroraState

type MysqlAuroraState struct {
	AllowedRoles           []string          `json:"allowed_roles"`
	AuthType               string            `json:"auth_type"`
	ConnectionUrl          string            `json:"connection_url"`
	Data                   map[string]string `json:"data"`
	MaxConnectionLifetime  float64           `json:"max_connection_lifetime"`
	MaxIdleConnections     float64           `json:"max_idle_connections"`
	MaxOpenConnections     float64           `json:"max_open_connections"`
	Name                   string            `json:"name"`
	Password               string            `json:"password"`
	PluginName             string            `json:"plugin_name"`
	RootRotationStatements []string          `json:"root_rotation_statements"`
	ServiceAccountJson     string            `json:"service_account_json"`
	TlsCa                  string            `json:"tls_ca"`
	TlsCertificateKey      string            `json:"tls_certificate_key"`
	Username               string            `json:"username"`
	UsernameTemplate       string            `json:"username_template"`
	VerifyConnection       bool              `json:"verify_connection"`
}

type MysqlLegacy

type MysqlLegacy struct {
	// AllowedRoles: list of string, optional
	AllowedRoles terra.ListValue[terra.StringValue] `hcl:"allowed_roles,attr"`
	// AuthType: string, optional
	AuthType terra.StringValue `hcl:"auth_type,attr"`
	// ConnectionUrl: string, optional
	ConnectionUrl terra.StringValue `hcl:"connection_url,attr"`
	// Data: map of string, optional
	Data terra.MapValue[terra.StringValue] `hcl:"data,attr"`
	// MaxConnectionLifetime: number, optional
	MaxConnectionLifetime terra.NumberValue `hcl:"max_connection_lifetime,attr"`
	// MaxIdleConnections: number, optional
	MaxIdleConnections terra.NumberValue `hcl:"max_idle_connections,attr"`
	// MaxOpenConnections: number, optional
	MaxOpenConnections terra.NumberValue `hcl:"max_open_connections,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// PluginName: string, optional
	PluginName terra.StringValue `hcl:"plugin_name,attr"`
	// RootRotationStatements: list of string, optional
	RootRotationStatements terra.ListValue[terra.StringValue] `hcl:"root_rotation_statements,attr"`
	// ServiceAccountJson: string, optional
	ServiceAccountJson terra.StringValue `hcl:"service_account_json,attr"`
	// TlsCa: string, optional
	TlsCa terra.StringValue `hcl:"tls_ca,attr"`
	// TlsCertificateKey: string, optional
	TlsCertificateKey terra.StringValue `hcl:"tls_certificate_key,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
	// UsernameTemplate: string, optional
	UsernameTemplate terra.StringValue `hcl:"username_template,attr"`
	// VerifyConnection: bool, optional
	VerifyConnection terra.BoolValue `hcl:"verify_connection,attr"`
}

type MysqlLegacyAttributes

type MysqlLegacyAttributes struct {
	// contains filtered or unexported fields
}

func (MysqlLegacyAttributes) AllowedRoles

func (MysqlLegacyAttributes) AuthType

func (ml MysqlLegacyAttributes) AuthType() terra.StringValue

func (MysqlLegacyAttributes) ConnectionUrl

func (ml MysqlLegacyAttributes) ConnectionUrl() terra.StringValue

func (MysqlLegacyAttributes) Data

func (MysqlLegacyAttributes) InternalRef

func (ml MysqlLegacyAttributes) InternalRef() (terra.Reference, error)

func (MysqlLegacyAttributes) InternalTokens

func (ml MysqlLegacyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MysqlLegacyAttributes) InternalWithRef

func (MysqlLegacyAttributes) MaxConnectionLifetime

func (ml MysqlLegacyAttributes) MaxConnectionLifetime() terra.NumberValue

func (MysqlLegacyAttributes) MaxIdleConnections

func (ml MysqlLegacyAttributes) MaxIdleConnections() terra.NumberValue

func (MysqlLegacyAttributes) MaxOpenConnections

func (ml MysqlLegacyAttributes) MaxOpenConnections() terra.NumberValue

func (MysqlLegacyAttributes) Name

func (MysqlLegacyAttributes) Password

func (ml MysqlLegacyAttributes) Password() terra.StringValue

func (MysqlLegacyAttributes) PluginName

func (ml MysqlLegacyAttributes) PluginName() terra.StringValue

func (MysqlLegacyAttributes) RootRotationStatements

func (ml MysqlLegacyAttributes) RootRotationStatements() terra.ListValue[terra.StringValue]

func (MysqlLegacyAttributes) ServiceAccountJson

func (ml MysqlLegacyAttributes) ServiceAccountJson() terra.StringValue

func (MysqlLegacyAttributes) TlsCa

func (MysqlLegacyAttributes) TlsCertificateKey

func (ml MysqlLegacyAttributes) TlsCertificateKey() terra.StringValue

func (MysqlLegacyAttributes) Username

func (ml MysqlLegacyAttributes) Username() terra.StringValue

func (MysqlLegacyAttributes) UsernameTemplate

func (ml MysqlLegacyAttributes) UsernameTemplate() terra.StringValue

func (MysqlLegacyAttributes) VerifyConnection

func (ml MysqlLegacyAttributes) VerifyConnection() terra.BoolValue

type MysqlLegacyState

type MysqlLegacyState struct {
	AllowedRoles           []string          `json:"allowed_roles"`
	AuthType               string            `json:"auth_type"`
	ConnectionUrl          string            `json:"connection_url"`
	Data                   map[string]string `json:"data"`
	MaxConnectionLifetime  float64           `json:"max_connection_lifetime"`
	MaxIdleConnections     float64           `json:"max_idle_connections"`
	MaxOpenConnections     float64           `json:"max_open_connections"`
	Name                   string            `json:"name"`
	Password               string            `json:"password"`
	PluginName             string            `json:"plugin_name"`
	RootRotationStatements []string          `json:"root_rotation_statements"`
	ServiceAccountJson     string            `json:"service_account_json"`
	TlsCa                  string            `json:"tls_ca"`
	TlsCertificateKey      string            `json:"tls_certificate_key"`
	Username               string            `json:"username"`
	UsernameTemplate       string            `json:"username_template"`
	VerifyConnection       bool              `json:"verify_connection"`
}

type MysqlRds

type MysqlRds struct {
	// AllowedRoles: list of string, optional
	AllowedRoles terra.ListValue[terra.StringValue] `hcl:"allowed_roles,attr"`
	// AuthType: string, optional
	AuthType terra.StringValue `hcl:"auth_type,attr"`
	// ConnectionUrl: string, optional
	ConnectionUrl terra.StringValue `hcl:"connection_url,attr"`
	// Data: map of string, optional
	Data terra.MapValue[terra.StringValue] `hcl:"data,attr"`
	// MaxConnectionLifetime: number, optional
	MaxConnectionLifetime terra.NumberValue `hcl:"max_connection_lifetime,attr"`
	// MaxIdleConnections: number, optional
	MaxIdleConnections terra.NumberValue `hcl:"max_idle_connections,attr"`
	// MaxOpenConnections: number, optional
	MaxOpenConnections terra.NumberValue `hcl:"max_open_connections,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// PluginName: string, optional
	PluginName terra.StringValue `hcl:"plugin_name,attr"`
	// RootRotationStatements: list of string, optional
	RootRotationStatements terra.ListValue[terra.StringValue] `hcl:"root_rotation_statements,attr"`
	// ServiceAccountJson: string, optional
	ServiceAccountJson terra.StringValue `hcl:"service_account_json,attr"`
	// TlsCa: string, optional
	TlsCa terra.StringValue `hcl:"tls_ca,attr"`
	// TlsCertificateKey: string, optional
	TlsCertificateKey terra.StringValue `hcl:"tls_certificate_key,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
	// UsernameTemplate: string, optional
	UsernameTemplate terra.StringValue `hcl:"username_template,attr"`
	// VerifyConnection: bool, optional
	VerifyConnection terra.BoolValue `hcl:"verify_connection,attr"`
}

type MysqlRdsAttributes

type MysqlRdsAttributes struct {
	// contains filtered or unexported fields
}

func (MysqlRdsAttributes) AllowedRoles

func (mr MysqlRdsAttributes) AllowedRoles() terra.ListValue[terra.StringValue]

func (MysqlRdsAttributes) AuthType

func (mr MysqlRdsAttributes) AuthType() terra.StringValue

func (MysqlRdsAttributes) ConnectionUrl

func (mr MysqlRdsAttributes) ConnectionUrl() terra.StringValue

func (MysqlRdsAttributes) Data

func (MysqlRdsAttributes) InternalRef

func (mr MysqlRdsAttributes) InternalRef() (terra.Reference, error)

func (MysqlRdsAttributes) InternalTokens

func (mr MysqlRdsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MysqlRdsAttributes) InternalWithRef

func (mr MysqlRdsAttributes) InternalWithRef(ref terra.Reference) MysqlRdsAttributes

func (MysqlRdsAttributes) MaxConnectionLifetime

func (mr MysqlRdsAttributes) MaxConnectionLifetime() terra.NumberValue

func (MysqlRdsAttributes) MaxIdleConnections

func (mr MysqlRdsAttributes) MaxIdleConnections() terra.NumberValue

func (MysqlRdsAttributes) MaxOpenConnections

func (mr MysqlRdsAttributes) MaxOpenConnections() terra.NumberValue

func (MysqlRdsAttributes) Name

func (MysqlRdsAttributes) Password

func (mr MysqlRdsAttributes) Password() terra.StringValue

func (MysqlRdsAttributes) PluginName

func (mr MysqlRdsAttributes) PluginName() terra.StringValue

func (MysqlRdsAttributes) RootRotationStatements

func (mr MysqlRdsAttributes) RootRotationStatements() terra.ListValue[terra.StringValue]

func (MysqlRdsAttributes) ServiceAccountJson

func (mr MysqlRdsAttributes) ServiceAccountJson() terra.StringValue

func (MysqlRdsAttributes) TlsCa

func (MysqlRdsAttributes) TlsCertificateKey

func (mr MysqlRdsAttributes) TlsCertificateKey() terra.StringValue

func (MysqlRdsAttributes) Username

func (mr MysqlRdsAttributes) Username() terra.StringValue

func (MysqlRdsAttributes) UsernameTemplate

func (mr MysqlRdsAttributes) UsernameTemplate() terra.StringValue

func (MysqlRdsAttributes) VerifyConnection

func (mr MysqlRdsAttributes) VerifyConnection() terra.BoolValue

type MysqlRdsState

type MysqlRdsState struct {
	AllowedRoles           []string          `json:"allowed_roles"`
	AuthType               string            `json:"auth_type"`
	ConnectionUrl          string            `json:"connection_url"`
	Data                   map[string]string `json:"data"`
	MaxConnectionLifetime  float64           `json:"max_connection_lifetime"`
	MaxIdleConnections     float64           `json:"max_idle_connections"`
	MaxOpenConnections     float64           `json:"max_open_connections"`
	Name                   string            `json:"name"`
	Password               string            `json:"password"`
	PluginName             string            `json:"plugin_name"`
	RootRotationStatements []string          `json:"root_rotation_statements"`
	ServiceAccountJson     string            `json:"service_account_json"`
	TlsCa                  string            `json:"tls_ca"`
	TlsCertificateKey      string            `json:"tls_certificate_key"`
	Username               string            `json:"username"`
	UsernameTemplate       string            `json:"username_template"`
	VerifyConnection       bool              `json:"verify_connection"`
}

type MysqlState

type MysqlState struct {
	AllowedRoles           []string          `json:"allowed_roles"`
	AuthType               string            `json:"auth_type"`
	ConnectionUrl          string            `json:"connection_url"`
	Data                   map[string]string `json:"data"`
	MaxConnectionLifetime  float64           `json:"max_connection_lifetime"`
	MaxIdleConnections     float64           `json:"max_idle_connections"`
	MaxOpenConnections     float64           `json:"max_open_connections"`
	Name                   string            `json:"name"`
	Password               string            `json:"password"`
	PluginName             string            `json:"plugin_name"`
	RootRotationStatements []string          `json:"root_rotation_statements"`
	ServiceAccountJson     string            `json:"service_account_json"`
	TlsCa                  string            `json:"tls_ca"`
	TlsCertificateKey      string            `json:"tls_certificate_key"`
	Username               string            `json:"username"`
	UsernameTemplate       string            `json:"username_template"`
	VerifyConnection       bool              `json:"verify_connection"`
}

type Oracle

type Oracle struct {
	// AllowedRoles: list of string, optional
	AllowedRoles terra.ListValue[terra.StringValue] `hcl:"allowed_roles,attr"`
	// ConnectionUrl: string, optional
	ConnectionUrl terra.StringValue `hcl:"connection_url,attr"`
	// Data: map of string, optional
	Data terra.MapValue[terra.StringValue] `hcl:"data,attr"`
	// DisconnectSessions: bool, optional
	DisconnectSessions terra.BoolValue `hcl:"disconnect_sessions,attr"`
	// MaxConnectionLifetime: number, optional
	MaxConnectionLifetime terra.NumberValue `hcl:"max_connection_lifetime,attr"`
	// MaxIdleConnections: number, optional
	MaxIdleConnections terra.NumberValue `hcl:"max_idle_connections,attr"`
	// MaxOpenConnections: number, optional
	MaxOpenConnections terra.NumberValue `hcl:"max_open_connections,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// PluginName: string, optional
	PluginName terra.StringValue `hcl:"plugin_name,attr"`
	// RootRotationStatements: list of string, optional
	RootRotationStatements terra.ListValue[terra.StringValue] `hcl:"root_rotation_statements,attr"`
	// SplitStatements: bool, optional
	SplitStatements terra.BoolValue `hcl:"split_statements,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
	// UsernameTemplate: string, optional
	UsernameTemplate terra.StringValue `hcl:"username_template,attr"`
	// VerifyConnection: bool, optional
	VerifyConnection terra.BoolValue `hcl:"verify_connection,attr"`
}

type OracleAttributes

type OracleAttributes struct {
	// contains filtered or unexported fields
}

func (OracleAttributes) AllowedRoles

func (o OracleAttributes) AllowedRoles() terra.ListValue[terra.StringValue]

func (OracleAttributes) ConnectionUrl

func (o OracleAttributes) ConnectionUrl() terra.StringValue

func (OracleAttributes) Data

func (OracleAttributes) DisconnectSessions

func (o OracleAttributes) DisconnectSessions() terra.BoolValue

func (OracleAttributes) InternalRef

func (o OracleAttributes) InternalRef() (terra.Reference, error)

func (OracleAttributes) InternalTokens

func (o OracleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OracleAttributes) InternalWithRef

func (o OracleAttributes) InternalWithRef(ref terra.Reference) OracleAttributes

func (OracleAttributes) MaxConnectionLifetime

func (o OracleAttributes) MaxConnectionLifetime() terra.NumberValue

func (OracleAttributes) MaxIdleConnections

func (o OracleAttributes) MaxIdleConnections() terra.NumberValue

func (OracleAttributes) MaxOpenConnections

func (o OracleAttributes) MaxOpenConnections() terra.NumberValue

func (OracleAttributes) Name

func (OracleAttributes) Password

func (o OracleAttributes) Password() terra.StringValue

func (OracleAttributes) PluginName

func (o OracleAttributes) PluginName() terra.StringValue

func (OracleAttributes) RootRotationStatements

func (o OracleAttributes) RootRotationStatements() terra.ListValue[terra.StringValue]

func (OracleAttributes) SplitStatements

func (o OracleAttributes) SplitStatements() terra.BoolValue

func (OracleAttributes) Username

func (o OracleAttributes) Username() terra.StringValue

func (OracleAttributes) UsernameTemplate

func (o OracleAttributes) UsernameTemplate() terra.StringValue

func (OracleAttributes) VerifyConnection

func (o OracleAttributes) VerifyConnection() terra.BoolValue

type OracleState

type OracleState struct {
	AllowedRoles           []string          `json:"allowed_roles"`
	ConnectionUrl          string            `json:"connection_url"`
	Data                   map[string]string `json:"data"`
	DisconnectSessions     bool              `json:"disconnect_sessions"`
	MaxConnectionLifetime  float64           `json:"max_connection_lifetime"`
	MaxIdleConnections     float64           `json:"max_idle_connections"`
	MaxOpenConnections     float64           `json:"max_open_connections"`
	Name                   string            `json:"name"`
	Password               string            `json:"password"`
	PluginName             string            `json:"plugin_name"`
	RootRotationStatements []string          `json:"root_rotation_statements"`
	SplitStatements        bool              `json:"split_statements"`
	Username               string            `json:"username"`
	UsernameTemplate       string            `json:"username_template"`
	VerifyConnection       bool              `json:"verify_connection"`
}

type Postgresql

type Postgresql struct {
	// AllowedRoles: list of string, optional
	AllowedRoles terra.ListValue[terra.StringValue] `hcl:"allowed_roles,attr"`
	// AuthType: string, optional
	AuthType terra.StringValue `hcl:"auth_type,attr"`
	// ConnectionUrl: string, optional
	ConnectionUrl terra.StringValue `hcl:"connection_url,attr"`
	// Data: map of string, optional
	Data terra.MapValue[terra.StringValue] `hcl:"data,attr"`
	// DisableEscaping: bool, optional
	DisableEscaping terra.BoolValue `hcl:"disable_escaping,attr"`
	// MaxConnectionLifetime: number, optional
	MaxConnectionLifetime terra.NumberValue `hcl:"max_connection_lifetime,attr"`
	// MaxIdleConnections: number, optional
	MaxIdleConnections terra.NumberValue `hcl:"max_idle_connections,attr"`
	// MaxOpenConnections: number, optional
	MaxOpenConnections terra.NumberValue `hcl:"max_open_connections,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// PluginName: string, optional
	PluginName terra.StringValue `hcl:"plugin_name,attr"`
	// RootRotationStatements: list of string, optional
	RootRotationStatements terra.ListValue[terra.StringValue] `hcl:"root_rotation_statements,attr"`
	// ServiceAccountJson: string, optional
	ServiceAccountJson terra.StringValue `hcl:"service_account_json,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
	// UsernameTemplate: string, optional
	UsernameTemplate terra.StringValue `hcl:"username_template,attr"`
	// VerifyConnection: bool, optional
	VerifyConnection terra.BoolValue `hcl:"verify_connection,attr"`
}

type PostgresqlAttributes

type PostgresqlAttributes struct {
	// contains filtered or unexported fields
}

func (PostgresqlAttributes) AllowedRoles

func (PostgresqlAttributes) AuthType

func (p PostgresqlAttributes) AuthType() terra.StringValue

func (PostgresqlAttributes) ConnectionUrl

func (p PostgresqlAttributes) ConnectionUrl() terra.StringValue

func (PostgresqlAttributes) Data

func (PostgresqlAttributes) DisableEscaping

func (p PostgresqlAttributes) DisableEscaping() terra.BoolValue

func (PostgresqlAttributes) InternalRef

func (p PostgresqlAttributes) InternalRef() (terra.Reference, error)

func (PostgresqlAttributes) InternalTokens

func (p PostgresqlAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PostgresqlAttributes) InternalWithRef

func (PostgresqlAttributes) MaxConnectionLifetime

func (p PostgresqlAttributes) MaxConnectionLifetime() terra.NumberValue

func (PostgresqlAttributes) MaxIdleConnections

func (p PostgresqlAttributes) MaxIdleConnections() terra.NumberValue

func (PostgresqlAttributes) MaxOpenConnections

func (p PostgresqlAttributes) MaxOpenConnections() terra.NumberValue

func (PostgresqlAttributes) Name

func (PostgresqlAttributes) Password

func (p PostgresqlAttributes) Password() terra.StringValue

func (PostgresqlAttributes) PluginName

func (p PostgresqlAttributes) PluginName() terra.StringValue

func (PostgresqlAttributes) RootRotationStatements

func (p PostgresqlAttributes) RootRotationStatements() terra.ListValue[terra.StringValue]

func (PostgresqlAttributes) ServiceAccountJson

func (p PostgresqlAttributes) ServiceAccountJson() terra.StringValue

func (PostgresqlAttributes) Username

func (p PostgresqlAttributes) Username() terra.StringValue

func (PostgresqlAttributes) UsernameTemplate

func (p PostgresqlAttributes) UsernameTemplate() terra.StringValue

func (PostgresqlAttributes) VerifyConnection

func (p PostgresqlAttributes) VerifyConnection() terra.BoolValue

type PostgresqlState

type PostgresqlState struct {
	AllowedRoles           []string          `json:"allowed_roles"`
	AuthType               string            `json:"auth_type"`
	ConnectionUrl          string            `json:"connection_url"`
	Data                   map[string]string `json:"data"`
	DisableEscaping        bool              `json:"disable_escaping"`
	MaxConnectionLifetime  float64           `json:"max_connection_lifetime"`
	MaxIdleConnections     float64           `json:"max_idle_connections"`
	MaxOpenConnections     float64           `json:"max_open_connections"`
	Name                   string            `json:"name"`
	Password               string            `json:"password"`
	PluginName             string            `json:"plugin_name"`
	RootRotationStatements []string          `json:"root_rotation_statements"`
	ServiceAccountJson     string            `json:"service_account_json"`
	Username               string            `json:"username"`
	UsernameTemplate       string            `json:"username_template"`
	VerifyConnection       bool              `json:"verify_connection"`
}

type Redis

type Redis struct {
	// AllowedRoles: list of string, optional
	AllowedRoles terra.ListValue[terra.StringValue] `hcl:"allowed_roles,attr"`
	// CaCert: string, optional
	CaCert terra.StringValue `hcl:"ca_cert,attr"`
	// Data: map of string, optional
	Data terra.MapValue[terra.StringValue] `hcl:"data,attr"`
	// Host: string, required
	Host terra.StringValue `hcl:"host,attr" validate:"required"`
	// InsecureTls: bool, optional
	InsecureTls terra.BoolValue `hcl:"insecure_tls,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Password: string, required
	Password terra.StringValue `hcl:"password,attr" validate:"required"`
	// PluginName: string, optional
	PluginName terra.StringValue `hcl:"plugin_name,attr"`
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// RootRotationStatements: list of string, optional
	RootRotationStatements terra.ListValue[terra.StringValue] `hcl:"root_rotation_statements,attr"`
	// Tls: bool, optional
	Tls terra.BoolValue `hcl:"tls,attr"`
	// Username: string, required
	Username terra.StringValue `hcl:"username,attr" validate:"required"`
	// VerifyConnection: bool, optional
	VerifyConnection terra.BoolValue `hcl:"verify_connection,attr"`
}

type RedisAttributes

type RedisAttributes struct {
	// contains filtered or unexported fields
}

func (RedisAttributes) AllowedRoles

func (r RedisAttributes) AllowedRoles() terra.ListValue[terra.StringValue]

func (RedisAttributes) CaCert

func (r RedisAttributes) CaCert() terra.StringValue

func (RedisAttributes) Data

func (RedisAttributes) Host

func (RedisAttributes) InsecureTls

func (r RedisAttributes) InsecureTls() terra.BoolValue

func (RedisAttributes) InternalRef

func (r RedisAttributes) InternalRef() (terra.Reference, error)

func (RedisAttributes) InternalTokens

func (r RedisAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RedisAttributes) InternalWithRef

func (r RedisAttributes) InternalWithRef(ref terra.Reference) RedisAttributes

func (RedisAttributes) Name

func (RedisAttributes) Password

func (r RedisAttributes) Password() terra.StringValue

func (RedisAttributes) PluginName

func (r RedisAttributes) PluginName() terra.StringValue

func (RedisAttributes) Port

func (RedisAttributes) RootRotationStatements

func (r RedisAttributes) RootRotationStatements() terra.ListValue[terra.StringValue]

func (RedisAttributes) Tls

func (RedisAttributes) Username

func (r RedisAttributes) Username() terra.StringValue

func (RedisAttributes) VerifyConnection

func (r RedisAttributes) VerifyConnection() terra.BoolValue

type RedisElasticache

type RedisElasticache struct {
	// AllowedRoles: list of string, optional
	AllowedRoles terra.ListValue[terra.StringValue] `hcl:"allowed_roles,attr"`
	// Data: map of string, optional
	Data terra.MapValue[terra.StringValue] `hcl:"data,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// PluginName: string, optional
	PluginName terra.StringValue `hcl:"plugin_name,attr"`
	// Region: string, optional
	Region terra.StringValue `hcl:"region,attr"`
	// RootRotationStatements: list of string, optional
	RootRotationStatements terra.ListValue[terra.StringValue] `hcl:"root_rotation_statements,attr"`
	// Url: string, required
	Url terra.StringValue `hcl:"url,attr" validate:"required"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
	// VerifyConnection: bool, optional
	VerifyConnection terra.BoolValue `hcl:"verify_connection,attr"`
}

type RedisElasticacheAttributes

type RedisElasticacheAttributes struct {
	// contains filtered or unexported fields
}

func (RedisElasticacheAttributes) AllowedRoles

func (RedisElasticacheAttributes) Data

func (RedisElasticacheAttributes) InternalRef

func (re RedisElasticacheAttributes) InternalRef() (terra.Reference, error)

func (RedisElasticacheAttributes) InternalTokens

func (re RedisElasticacheAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RedisElasticacheAttributes) InternalWithRef

func (RedisElasticacheAttributes) Name

func (RedisElasticacheAttributes) Password

func (RedisElasticacheAttributes) PluginName

func (RedisElasticacheAttributes) Region

func (RedisElasticacheAttributes) RootRotationStatements

func (re RedisElasticacheAttributes) RootRotationStatements() terra.ListValue[terra.StringValue]

func (RedisElasticacheAttributes) Url

func (RedisElasticacheAttributes) Username

func (RedisElasticacheAttributes) VerifyConnection

func (re RedisElasticacheAttributes) VerifyConnection() terra.BoolValue

type RedisElasticacheState

type RedisElasticacheState struct {
	AllowedRoles           []string          `json:"allowed_roles"`
	Data                   map[string]string `json:"data"`
	Name                   string            `json:"name"`
	Password               string            `json:"password"`
	PluginName             string            `json:"plugin_name"`
	Region                 string            `json:"region"`
	RootRotationStatements []string          `json:"root_rotation_statements"`
	Url                    string            `json:"url"`
	Username               string            `json:"username"`
	VerifyConnection       bool              `json:"verify_connection"`
}

type RedisState

type RedisState struct {
	AllowedRoles           []string          `json:"allowed_roles"`
	CaCert                 string            `json:"ca_cert"`
	Data                   map[string]string `json:"data"`
	Host                   string            `json:"host"`
	InsecureTls            bool              `json:"insecure_tls"`
	Name                   string            `json:"name"`
	Password               string            `json:"password"`
	PluginName             string            `json:"plugin_name"`
	Port                   float64           `json:"port"`
	RootRotationStatements []string          `json:"root_rotation_statements"`
	Tls                    bool              `json:"tls"`
	Username               string            `json:"username"`
	VerifyConnection       bool              `json:"verify_connection"`
}

type Redshift

type Redshift struct {
	// AllowedRoles: list of string, optional
	AllowedRoles terra.ListValue[terra.StringValue] `hcl:"allowed_roles,attr"`
	// ConnectionUrl: string, optional
	ConnectionUrl terra.StringValue `hcl:"connection_url,attr"`
	// Data: map of string, optional
	Data terra.MapValue[terra.StringValue] `hcl:"data,attr"`
	// DisableEscaping: bool, optional
	DisableEscaping terra.BoolValue `hcl:"disable_escaping,attr"`
	// MaxConnectionLifetime: number, optional
	MaxConnectionLifetime terra.NumberValue `hcl:"max_connection_lifetime,attr"`
	// MaxIdleConnections: number, optional
	MaxIdleConnections terra.NumberValue `hcl:"max_idle_connections,attr"`
	// MaxOpenConnections: number, optional
	MaxOpenConnections terra.NumberValue `hcl:"max_open_connections,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// PluginName: string, optional
	PluginName terra.StringValue `hcl:"plugin_name,attr"`
	// RootRotationStatements: list of string, optional
	RootRotationStatements terra.ListValue[terra.StringValue] `hcl:"root_rotation_statements,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
	// UsernameTemplate: string, optional
	UsernameTemplate terra.StringValue `hcl:"username_template,attr"`
	// VerifyConnection: bool, optional
	VerifyConnection terra.BoolValue `hcl:"verify_connection,attr"`
}

type RedshiftAttributes

type RedshiftAttributes struct {
	// contains filtered or unexported fields
}

func (RedshiftAttributes) AllowedRoles

func (RedshiftAttributes) ConnectionUrl

func (r RedshiftAttributes) ConnectionUrl() terra.StringValue

func (RedshiftAttributes) Data

func (RedshiftAttributes) DisableEscaping

func (r RedshiftAttributes) DisableEscaping() terra.BoolValue

func (RedshiftAttributes) InternalRef

func (r RedshiftAttributes) InternalRef() (terra.Reference, error)

func (RedshiftAttributes) InternalTokens

func (r RedshiftAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RedshiftAttributes) InternalWithRef

func (r RedshiftAttributes) InternalWithRef(ref terra.Reference) RedshiftAttributes

func (RedshiftAttributes) MaxConnectionLifetime

func (r RedshiftAttributes) MaxConnectionLifetime() terra.NumberValue

func (RedshiftAttributes) MaxIdleConnections

func (r RedshiftAttributes) MaxIdleConnections() terra.NumberValue

func (RedshiftAttributes) MaxOpenConnections

func (r RedshiftAttributes) MaxOpenConnections() terra.NumberValue

func (RedshiftAttributes) Name

func (RedshiftAttributes) Password

func (r RedshiftAttributes) Password() terra.StringValue

func (RedshiftAttributes) PluginName

func (r RedshiftAttributes) PluginName() terra.StringValue

func (RedshiftAttributes) RootRotationStatements

func (r RedshiftAttributes) RootRotationStatements() terra.ListValue[terra.StringValue]

func (RedshiftAttributes) Username

func (r RedshiftAttributes) Username() terra.StringValue

func (RedshiftAttributes) UsernameTemplate

func (r RedshiftAttributes) UsernameTemplate() terra.StringValue

func (RedshiftAttributes) VerifyConnection

func (r RedshiftAttributes) VerifyConnection() terra.BoolValue

type RedshiftState

type RedshiftState struct {
	AllowedRoles           []string          `json:"allowed_roles"`
	ConnectionUrl          string            `json:"connection_url"`
	Data                   map[string]string `json:"data"`
	DisableEscaping        bool              `json:"disable_escaping"`
	MaxConnectionLifetime  float64           `json:"max_connection_lifetime"`
	MaxIdleConnections     float64           `json:"max_idle_connections"`
	MaxOpenConnections     float64           `json:"max_open_connections"`
	Name                   string            `json:"name"`
	Password               string            `json:"password"`
	PluginName             string            `json:"plugin_name"`
	RootRotationStatements []string          `json:"root_rotation_statements"`
	Username               string            `json:"username"`
	UsernameTemplate       string            `json:"username_template"`
	VerifyConnection       bool              `json:"verify_connection"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource vault_database_secrets_mount.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (vdsm *Resource) Attributes() vaultDatabaseSecretsMountAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (vdsm *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (vdsm *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (vdsm *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (vdsm *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (vdsm *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (vdsm *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (vdsm *Resource) State() (*vaultDatabaseSecretsMountState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (vdsm *Resource) StateMust() *vaultDatabaseSecretsMountState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (vdsm *Resource) Type() string

Type returns the Terraform object type for Resource.

type Snowflake

type Snowflake struct {
	// AllowedRoles: list of string, optional
	AllowedRoles terra.ListValue[terra.StringValue] `hcl:"allowed_roles,attr"`
	// ConnectionUrl: string, optional
	ConnectionUrl terra.StringValue `hcl:"connection_url,attr"`
	// Data: map of string, optional
	Data terra.MapValue[terra.StringValue] `hcl:"data,attr"`
	// MaxConnectionLifetime: number, optional
	MaxConnectionLifetime terra.NumberValue `hcl:"max_connection_lifetime,attr"`
	// MaxIdleConnections: number, optional
	MaxIdleConnections terra.NumberValue `hcl:"max_idle_connections,attr"`
	// MaxOpenConnections: number, optional
	MaxOpenConnections terra.NumberValue `hcl:"max_open_connections,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// PluginName: string, optional
	PluginName terra.StringValue `hcl:"plugin_name,attr"`
	// RootRotationStatements: list of string, optional
	RootRotationStatements terra.ListValue[terra.StringValue] `hcl:"root_rotation_statements,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
	// UsernameTemplate: string, optional
	UsernameTemplate terra.StringValue `hcl:"username_template,attr"`
	// VerifyConnection: bool, optional
	VerifyConnection terra.BoolValue `hcl:"verify_connection,attr"`
}

type SnowflakeAttributes

type SnowflakeAttributes struct {
	// contains filtered or unexported fields
}

func (SnowflakeAttributes) AllowedRoles

func (SnowflakeAttributes) ConnectionUrl

func (s SnowflakeAttributes) ConnectionUrl() terra.StringValue

func (SnowflakeAttributes) Data

func (SnowflakeAttributes) InternalRef

func (s SnowflakeAttributes) InternalRef() (terra.Reference, error)

func (SnowflakeAttributes) InternalTokens

func (s SnowflakeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SnowflakeAttributes) InternalWithRef

func (s SnowflakeAttributes) InternalWithRef(ref terra.Reference) SnowflakeAttributes

func (SnowflakeAttributes) MaxConnectionLifetime

func (s SnowflakeAttributes) MaxConnectionLifetime() terra.NumberValue

func (SnowflakeAttributes) MaxIdleConnections

func (s SnowflakeAttributes) MaxIdleConnections() terra.NumberValue

func (SnowflakeAttributes) MaxOpenConnections

func (s SnowflakeAttributes) MaxOpenConnections() terra.NumberValue

func (SnowflakeAttributes) Name

func (SnowflakeAttributes) Password

func (s SnowflakeAttributes) Password() terra.StringValue

func (SnowflakeAttributes) PluginName

func (s SnowflakeAttributes) PluginName() terra.StringValue

func (SnowflakeAttributes) RootRotationStatements

func (s SnowflakeAttributes) RootRotationStatements() terra.ListValue[terra.StringValue]

func (SnowflakeAttributes) Username

func (s SnowflakeAttributes) Username() terra.StringValue

func (SnowflakeAttributes) UsernameTemplate

func (s SnowflakeAttributes) UsernameTemplate() terra.StringValue

func (SnowflakeAttributes) VerifyConnection

func (s SnowflakeAttributes) VerifyConnection() terra.BoolValue

type SnowflakeState

type SnowflakeState struct {
	AllowedRoles           []string          `json:"allowed_roles"`
	ConnectionUrl          string            `json:"connection_url"`
	Data                   map[string]string `json:"data"`
	MaxConnectionLifetime  float64           `json:"max_connection_lifetime"`
	MaxIdleConnections     float64           `json:"max_idle_connections"`
	MaxOpenConnections     float64           `json:"max_open_connections"`
	Name                   string            `json:"name"`
	Password               string            `json:"password"`
	PluginName             string            `json:"plugin_name"`
	RootRotationStatements []string          `json:"root_rotation_statements"`
	Username               string            `json:"username"`
	UsernameTemplate       string            `json:"username_template"`
	VerifyConnection       bool              `json:"verify_connection"`
}

Jump to

Keyboard shortcuts

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