Documentation ¶
Index ¶
- Variables
- func NewAWSCredentialPrerequisitesDataSource() datasource.DataSource
- func NewAwsCredentialResource() resource.Resource
- func NewAwsEnvironmentResource() resource.Resource
- func NewAzureCredentialResource() resource.Resource
- func NewAzureEnvironmentResource() resource.Resource
- func NewIDBrokerMappingsResource() resource.Resource
- func ToAwsEnvrionmentRequest(ctx context.Context, model *awsEnvironmentResourceModel) *environmentsmodels.CreateAWSEnvironmentRequest
- func ToAzureEnvironmentRequest(ctx context.Context, model *azureEnvironmentResourceModel) *environmentsmodels.CreateAzureEnvironmentRequest
- type AWSFreeIpaDetails
- type AWSLogStorage
- type AppBased
- type Authentication
- type SecurityAccess
Constants ¶
This section is empty.
Variables ¶
View Source
var AwsEnvironmentSchema = schema.Schema{ MarkdownDescription: "The environment is a logical entity that represents the association of your user account with multiple compute resources using which you can provision and manage workloads.", Attributes: map[string]schema.Attribute{ "id": schema.StringAttribute{ Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "crn": schema.StringAttribute{ Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "authentication": schema.SingleNestedAttribute{ Required: true, Attributes: map[string]schema.Attribute{ "public_key": schema.StringAttribute{ Optional: true, }, "public_key_id": schema.StringAttribute{ Optional: true, }, }, }, "create_private_subnets": schema.BoolAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.Bool{ boolplanmodifier.UseStateForUnknown(), }, }, "create_service_endpoints": schema.BoolAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.Bool{ boolplanmodifier.UseStateForUnknown(), }, }, "s3_guard_table_name": schema.StringAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "credential_name": schema.StringAttribute{ Required: true, }, "description": schema.StringAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "enable_tunnel": schema.BoolAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.Bool{ boolplanmodifier.UseStateForUnknown(), }, }, "encryption_key_arn": schema.StringAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "endpoint_access_gateway_scheme": schema.StringAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "endpoint_access_gateway_subnet_ids": schema.SetAttribute{ Optional: true, Computed: true, ElementType: types.StringType, }, "environment_name": schema.StringAttribute{ Required: true, }, "freeipa": schema.SingleNestedAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.Object{ objectplanmodifier.UseStateForUnknown(), }, Attributes: map[string]schema.Attribute{ "catalog": schema.StringAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "image_id": schema.StringAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "instance_count_by_group": schema.Int64Attribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.Int64{ int64planmodifier.UseStateForUnknown(), }, }, "instance_type": schema.StringAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "multi_az": schema.BoolAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.Bool{ boolplanmodifier.UseStateForUnknown(), }, }, "recipes": schema.SetAttribute{ Optional: true, Computed: true, ElementType: types.StringType, }, }, }, "log_storage": schema.SingleNestedAttribute{ Required: true, Attributes: map[string]schema.Attribute{ "instance_profile": schema.StringAttribute{ Required: true, }, "storage_location_base": schema.StringAttribute{ Required: true, }, "backup_storage_location_base": schema.StringAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, }, }, "region": schema.StringAttribute{ Required: true, }, "report_deployment_logs": schema.BoolAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.Bool{ boolplanmodifier.UseStateForUnknown(), }, }, "network_cidr": schema.StringAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "proxy_config_name": schema.StringAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "security_access": schema.SingleNestedAttribute{ Required: true, Attributes: map[string]schema.Attribute{ "cidr": schema.StringAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "default_security_group_id": schema.StringAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "default_security_group_ids": schema.SetAttribute{ Optional: true, Computed: true, ElementType: types.StringType, }, "security_group_id_for_knox": schema.StringAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "security_group_ids_for_knox": schema.SetAttribute{ Optional: true, Computed: true, ElementType: types.StringType, }, }, }, "status": schema.StringAttribute{ Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "status_reason": schema.StringAttribute{ Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "subnet_ids": schema.SetAttribute{ Optional: true, Computed: true, ElementType: types.StringType, }, "tags": schema.MapAttribute{ Optional: true, Computed: true, ElementType: types.StringType, }, "tunnel_type": schema.StringAttribute{ Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "workload_analytics": schema.BoolAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.Bool{ boolplanmodifier.UseStateForUnknown(), }, }, "vpc_id": schema.StringAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, }, }
View Source
var AzureEnvironmentSchema = schema.Schema{ MarkdownDescription: "The environment is a logical entity that represents the association of your user account with multiple compute resources using which you can provision and manage workloads.", Attributes: map[string]schema.Attribute{ "id": schema.StringAttribute{ Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "crn": schema.StringAttribute{ Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "create_private_endpoints": schema.BoolAttribute{ Optional: true, }, "credential_name": schema.StringAttribute{ Required: true, }, "description": schema.StringAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "enable_outbound_load_balancer": schema.BoolAttribute{ Optional: true, }, "enable_tunnel": schema.BoolAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.Bool{ boolplanmodifier.UseStateForUnknown(), }, }, "endpoint_access_gateway_scheme": schema.StringAttribute{ Description: "The scheme for the endpoint gateway. PUBLIC creates an external endpoint that can be accessed over the Internet. Defaults to PRIVATE which restricts the traffic to be internal to the VPC.", MarkdownDescription: "The scheme for the endpoint gateway. PUBLIC creates an external endpoint that can be accessed over the Internet. Defaults to PRIVATE which restricts the traffic to be internal to the VPC.", Optional: true, }, "encryption_key_resource_group_name": schema.StringAttribute{ Optional: true, }, "encryption_key_url": schema.StringAttribute{ Optional: true, }, "environment_name": schema.StringAttribute{ Required: true, }, "existing_network_params": schema.SingleNestedAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.Object{ objectplanmodifier.UseStateForUnknown(), }, Attributes: map[string]schema.Attribute{ "aks_private_dns_zone_id": schema.StringAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "database_private_dns_zone_id": schema.StringAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "network_id": schema.StringAttribute{ Required: true, }, "resource_group_name": schema.StringAttribute{ Required: true, }, "subnet_ids": schema.SetAttribute{ Required: true, ElementType: types.StringType, }, }, }, "freeipa": schema.SingleNestedAttribute{ Optional: true, PlanModifiers: []planmodifier.Object{ objectplanmodifier.UseStateForUnknown(), }, Attributes: map[string]schema.Attribute{ "catalog": schema.StringAttribute{ Optional: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "image_id": schema.StringAttribute{ Optional: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "instance_count_by_group": schema.Int64Attribute{ Optional: true, PlanModifiers: []planmodifier.Int64{ int64planmodifier.UseStateForUnknown(), }, }, "instance_type": schema.StringAttribute{ Optional: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "recipes": schema.SetAttribute{ Optional: true, ElementType: types.StringType, }, }, }, "log_storage": schema.SingleNestedAttribute{ Required: true, Attributes: map[string]schema.Attribute{ "managed_identity": schema.StringAttribute{ Required: true, }, "storage_location_base": schema.StringAttribute{ Required: true, }, "backup_storage_location_base": schema.StringAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, }, }, "new_network_params": schema.SingleNestedAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.Object{ objectplanmodifier.UseStateForUnknown(), }, Attributes: map[string]schema.Attribute{ "network_cidr": schema.StringAttribute{ Required: true, }, }, }, "proxy_config_name": schema.StringAttribute{ Optional: true, }, "public_key": schema.StringAttribute{ Required: true, }, "region": schema.StringAttribute{ Required: true, }, "report_deployment_logs": schema.BoolAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.Bool{ boolplanmodifier.UseStateForUnknown(), }, }, "resource_group_name": schema.StringAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "security_access": schema.SingleNestedAttribute{ Required: true, Attributes: map[string]schema.Attribute{ "cidr": schema.StringAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "default_security_group_id": schema.StringAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "default_security_group_ids": schema.SetAttribute{ Optional: true, ElementType: types.StringType, }, "security_group_id_for_knox": schema.StringAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "security_group_ids_for_knox": schema.SetAttribute{ Optional: true, ElementType: types.StringType, }, }, }, "status": schema.StringAttribute{ Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "status_reason": schema.StringAttribute{ Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "tags": schema.MapAttribute{ Optional: true, Computed: true, ElementType: types.StringType, PlanModifiers: []planmodifier.Map{ mapplanmodifier.UseStateForUnknown(), }, }, "use_public_ip": schema.BoolAttribute{ Required: true, }, "workload_analytics": schema.BoolAttribute{ Optional: true, Computed: true, PlanModifiers: []planmodifier.Bool{ boolplanmodifier.UseStateForUnknown(), }, }, }, }
Functions ¶
func NewAWSCredentialPrerequisitesDataSource ¶
func NewAWSCredentialPrerequisitesDataSource() datasource.DataSource
func ToAwsEnvrionmentRequest ¶
func ToAwsEnvrionmentRequest(ctx context.Context, model *awsEnvironmentResourceModel) *environmentsmodels.CreateAWSEnvironmentRequest
func ToAzureEnvironmentRequest ¶
func ToAzureEnvironmentRequest(ctx context.Context, model *azureEnvironmentResourceModel) *environmentsmodels.CreateAzureEnvironmentRequest
Types ¶
type AWSFreeIpaDetails ¶
type AWSFreeIpaDetails struct { Catalog types.String `tfsdk:"catalog"` ImageID types.String `tfsdk:"image_id"` InstanceCountByGroup types.Int64 `tfsdk:"instance_count_by_group"` InstanceType types.String `tfsdk:"instance_type"` MultiAz types.Bool `tfsdk:"multi_az"` Recipes types.Set `tfsdk:"recipes"` }
type AWSLogStorage ¶
type Authentication ¶
type SecurityAccess ¶
type SecurityAccess struct { Cidr types.String `tfsdk:"cidr"` DefaultSecurityGroupID types.String `tfsdk:"default_security_group_id"` DefaultSecurityGroupIDs types.Set `tfsdk:"default_security_group_ids"` SecurityGroupIDForKnox types.String `tfsdk:"security_group_id_for_knox"` SecurityGroupIDsForKnox types.Set `tfsdk:"security_group_ids_for_knox"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.