env

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAWSEnvDataSource

func NewAWSEnvDataSource() datasource.DataSource

func NewAWSEnvResource

func NewAWSEnvResource() resource.Resource

Types

type AWSEnvBackupsModel added in v0.4.23

type AWSEnvBackupsModel struct {
	CustomBucket *AWSEnvCustomBucketModel `tfsdk:"custom_bucket"`
}

type AWSEnvCustomBucketModel added in v0.4.23

type AWSEnvCustomBucketModel struct {
	Name    types.String `tfsdk:"name"`
	Region  types.String `tfsdk:"region"`
	RoleArn types.String `tfsdk:"role_arn"`
}

type AWSEnvDataSource

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

func (*AWSEnvDataSource) Configure

func (*AWSEnvDataSource) Metadata

func (*AWSEnvDataSource) Read

func (*AWSEnvDataSource) Schema

type AWSEnvDataSourceModel added in v0.8.0

type AWSEnvDataSourceModel struct {
	AWSEnvModel
}

type AWSEnvEndpointModel

type AWSEnvEndpointModel struct {
	ServiceName types.String `tfsdk:"service_name"`
	Alias       types.String `tfsdk:"alias"`
	PrivateDNS  types.Bool   `tfsdk:"private_dns"`
}

type AWSEnvExternalBucketModel added in v0.4.19

type AWSEnvExternalBucketModel struct {
	Name      types.String `tfsdk:"name"`
	KmsKeyArn types.String `tfsdk:"kms_key_arn"`
}

type AWSEnvIcebergCatalogMaintenanceModel added in v0.5.0

type AWSEnvIcebergCatalogMaintenanceModel struct {
	Enabled types.Bool `tfsdk:"enabled"`
}

type AWSEnvIcebergCatalogModel added in v0.5.0

type AWSEnvIcebergCatalogModel struct {
	Name                   types.String                          `tfsdk:"name"`
	Type                   types.String                          `tfsdk:"type"`
	AnonymousAccessEnabled types.Bool                            `tfsdk:"anonymous_access_enabled"`
	Maintenance            *AWSEnvIcebergCatalogMaintenanceModel `tfsdk:"maintenance"`
	Watches                []AWSEnvIcebergCatalogWatchModel      `tfsdk:"watches"`
}

type AWSEnvIcebergCatalogWatchModel added in v0.5.0

type AWSEnvIcebergCatalogWatchModel struct {
	Table                        types.String   `tfsdk:"table"`
	PathsRelativeToTableLocation []types.String `tfsdk:"paths_relative_to_table_location"`
}

type AWSEnvIcebergModel added in v0.5.0

type AWSEnvIcebergModel struct {
	Catalogs []AWSEnvIcebergCatalogModel `tfsdk:"catalogs"`
}

type AWSEnvModel added in v0.8.0

type AWSEnvModel struct {
	Id                           types.String                    `tfsdk:"id"`
	Name                         types.String                    `tfsdk:"name"`
	CustomDomain                 types.String                    `tfsdk:"custom_domain"`
	CustomDomains                types.List                      `tfsdk:"custom_domains"`
	LoadBalancingStrategy        types.String                    `tfsdk:"load_balancing_strategy"`
	Region                       types.String                    `tfsdk:"region"`
	PermissionsBoundaryPolicyArn types.String                    `tfsdk:"permissions_boundary_policy_arn"`
	ResourcePrefix               types.String                    `tfsdk:"resource_prefix"`
	KmsKeyArn                    types.String                    `tfsdk:"kms_key_arn"`
	NAT                          types.Bool                      `tfsdk:"nat"`
	CIDR                         types.String                    `tfsdk:"cidr"`
	AWSAccountID                 types.String                    `tfsdk:"aws_account_id"`
	Zones                        types.List                      `tfsdk:"zones"`
	LoadBalancers                *LoadBalancersModel             `tfsdk:"load_balancers"`
	NodeGroups                   []common.NodeGroupsModel        `tfsdk:"node_groups"`
	PeeringConnections           []AWSEnvPeeringConnectionModel  `tfsdk:"peering_connections"`
	Endpoints                    []AWSEnvEndpointModel           `tfsdk:"endpoints"`
	Tags                         []common.KeyValueModel          `tfsdk:"tags"`
	CloudConnect                 types.Bool                      `tfsdk:"cloud_connect"`
	MaintenanceWindows           []common.MaintenanceWindowModel `tfsdk:"maintenance_windows"`
	ExternalBuckets              []AWSEnvExternalBucketModel     `tfsdk:"external_buckets"`
	Backups                      *AWSEnvBackupsModel             `tfsdk:"backups"`
	Iceberg                      *AWSEnvIcebergModel             `tfsdk:"iceberg"`
	MetricsEndpoint              *common.MetricsEndpointModel    `tfsdk:"metrics_endpoint"`
	Datadog                      *common.DatadogModel            `tfsdk:"datadog"`
	EksLogging                   types.Bool                      `tfsdk:"eks_logging"`

	SpecRevision                 types.Int64 `tfsdk:"spec_revision"`
	ForceDestroy                 types.Bool  `tfsdk:"force_destroy"`
	ForceDestroyClusters         types.Bool  `tfsdk:"force_destroy_clusters"`
	SkipDeprovisionOnDestroy     types.Bool  `tfsdk:"skip_deprovision_on_destroy"`
	AllowDeleteWhileDisconnected types.Bool  `tfsdk:"allow_delete_while_disconnected"`
}

type AWSEnvPeeringConnectionModel

type AWSEnvPeeringConnectionModel struct {
	AWSAccountID types.String `tfsdk:"aws_account_id"`
	VpcID        types.String `tfsdk:"vpc_id"`
	VpcRegion    types.String `tfsdk:"vpc_region"`
}

type AWSEnvResource

type AWSEnvResource struct {
	common.EnvResourceBase
}

func (*AWSEnvResource) Create

func (*AWSEnvResource) Delete

func (*AWSEnvResource) Metadata

func (*AWSEnvResource) Read

func (*AWSEnvResource) Schema

func (*AWSEnvResource) Update

func (*AWSEnvResource) ValidateConfig added in v0.7.0

type AWSEnvResourceModel

type AWSEnvResourceModel struct {
	AWSEnvModel
	Timeouts timeouts.Value `tfsdk:"timeouts"`
}

Split models: `timeouts` only exists on the resource schema and the framework requires an exact struct/schema match.

type InternalLoadBalancerModel

type InternalLoadBalancerModel struct {
	Enabled                          types.Bool     `tfsdk:"enabled"`
	SourceIPRanges                   []types.String `tfsdk:"source_ip_ranges"`
	CrossZone                        types.Bool     `tfsdk:"cross_zone"`
	EndpointServiceAllowedPrincipals []types.String `tfsdk:"endpoint_service_allowed_principals"`
	EndpointServiceSupportedRegions  []types.String `tfsdk:"endpoint_service_supported_regions"`
}

type LoadBalancersModel

type LoadBalancersModel struct {
	Public   *PublicLoadBalancerModel   `tfsdk:"public"`
	Internal *InternalLoadBalancerModel `tfsdk:"internal"`
}

type PublicLoadBalancerModel

type PublicLoadBalancerModel struct {
	Enabled        types.Bool     `tfsdk:"enabled"`
	SourceIPRanges []types.String `tfsdk:"source_ip_ranges"`
	CrossZone      types.Bool     `tfsdk:"cross_zone"`
}

Jump to

Keyboard shortcuts

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