env

package
v0.4.20 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2025 License: Apache-2.0 Imports: 24 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 AWSEnvDataSource

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

func (*AWSEnvDataSource) Configure

func (*AWSEnvDataSource) Metadata

func (*AWSEnvDataSource) Read

func (*AWSEnvDataSource) Schema

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"`
}

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

type AWSEnvResourceModel

type AWSEnvResourceModel struct {
	Id                           types.String                    `tfsdk:"id"`
	Name                         types.String                    `tfsdk:"name"`
	CustomDomain                 types.String                    `tfsdk:"custom_domain"`
	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"`
	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"`

	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 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"`
}

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