Documentation
¶
Index ¶
- Constants
- Variables
- func AddClientError(diags *diag.Diagnostics, detail string)
- func AddSupportError(diags *diag.Diagnostics, summary, detail string)
- func GetAllowDeleteWhileDisconnectedAttribute(required, optional, computed bool) rschema.BoolAttribute
- func GetCIDRAttribute(required, optional, computed bool) rschema.StringAttribute
- func GetCommonCustomDomainAttribute(required, optional, computed bool) rschema.StringAttribute
- func GetCommonCustomDomainsAttribute(required, optional, computed bool) rschema.ListAttribute
- func GetCustomDomainAttribute(required, optional, computed bool, description string) rschema.StringAttribute
- func GetCustomDomainsAttribute(required, optional, computed bool, description string) rschema.ListAttribute
- func GetDatadogAttribute(required, optional, computed bool) rschema.SingleNestedAttribute
- func GetForceDestroyAttribute(required, optional, computed bool) rschema.BoolAttribute
- func GetForceDestroyClustersAttribute(required, optional, computed bool) rschema.BoolAttribute
- func GetLoadBalancingStrategyAttribute(required, optional, computed bool) rschema.StringAttribute
- func GetMaintenanceWindowAttribute(required, optional, computed bool) rschema.ListNestedAttribute
- func GetMetricsEndpointAttribute(required, optional, computed bool) rschema.SingleNestedAttribute
- func GetNodeGroupsAttribute(required, optional, computed bool) rschema.ListNestedAttribute
- func GetRegionAttribute(required, optional, computed bool, description string) rschema.StringAttribute
- func GetReservationsAttribute(required, optional, computed bool) rschema.SetAttribute
- func GetSkipProvisioningOnDestroyAttribute(required, optional, computed bool) rschema.BoolAttribute
- func GetTagsAttribute(required, optional, computed bool, description string) rschema.ListNestedAttribute
- func GetZonesAttribute(required, optional, computed bool, description string) rschema.ListAttribute
Constants ¶
const ALLOW_DELETE_WHILE_DISCONNECTED_DESCRIPTION = "" /* 222-byte string literal not displayed */
const AWS_ACCOUNT_ID_DESCRIPTION = "" /* 174-byte string literal not displayed */
AWS descriptions.
const AWS_BACKUPS_AUTH_DESCRIPTION = "Authentication configuration for backup bucket access"
const AWS_BACKUPS_BUCKET_DESCRIPTION = "S3 bucket name for backups"
const AWS_BACKUPS_CUSTOM_BUCKET_DESCRIPTION = "Custom S3 bucket configuration for backups"
const AWS_BACKUPS_DESCRIPTION = "Configuration for backup storage"
const AWS_BACKUPS_REGION_DESCRIPTION = "AWS region where the backup bucket is located"
const AWS_BACKUPS_ROLE_ARN_DESCRIPTION = "IAM role ARN for backup bucket access"
const AWS_LOAD_BALANCER_CROSS_ZONE_DESCRIPTION = "" /* 129-byte string literal not displayed */
const AWS_LOAD_BALANCER_ENDPOINT_SERVICE_ALLOWED_PRINCIPALS_DESCRIPTION = `ARNs for AWS principals that are allowed to create VPC endpoints.
Examples:
- "arn:aws:iam::$account_id:root"
`
const AWS_LOAD_BALANCER_ENDPOINT_SERVICE_SUPPORTED_REGIONS_DESCRIPTION = `List of supported regions for VPC endpoints.
Example: ["us-east-1", "sa-east-1"]
`
const AWS_NODE_GROUP_NODE_TYPE_DESCRIPTION = `Instance type ([docs](https://aws.amazon.com/ec2/instance-types/))
Examples:
- "t4g.large"
`
const AWS_REGION_DESCRIPTION = `` /* 225-byte string literal not displayed */
const AWS_RESOURCES_ARN_DESCRIPTION = "AWS resource ARN."
const AWS_RESOURCES_DESCRIPTION = "AWS resources associated with the environment."
const AWS_RESOURCES_ID_DESCRIPTION = "AWS resource ID."
const AWS_RESOURCES_NAME_DESCRIPTION = "AWS resource name."
const AWS_TAGS_DESCRIPTION = "Tags to apply to AWS resources."
const AWS_ZONES_DESCRIPTION = `` /* 237-byte string literal not displayed */
const AZURE_CUSTOM_DOMAINS_DESCRIPTION = `Custom domains.
Examples:
- "example.com"
- "foo.bar.com"
For each custom domain you specify, please create the following DNS records:
` + "`" + `CNAME _acme-challenge.<custom_domain>. $env_name.altinity.cloud.` + "`" + `
E.g. for the above examples your records should be:
- ` + "`" + `CNAME _acme-challenge.example.com. $env_name.altinity.cloud.` + "`" + `
- ` + "`" + `CNAME _acme-challenge.foo.bar.com. $env_name.altinity.cloud.` + "`" + `
`
const AZURE_CUSTOM_DOMAIN_DESCRIPTION = "Deprecated. Use `custom_domains` instead."
Azure descriptions.
const AZURE_PRIVATE_LINK_SERVICE_ALIAS_DESCRIPTION = "Private Link Service Alias / DNS Name in prefix.GUID.suffix format."
const AZURE_PRIVATE_LINK_SERVICE_ALLOWED_SUBSCRIPTIONS_DESCRIPTION = "Lists subscription IDs permitted for Private Link access, securing service connections."
const AZURE_PRIVATE_LINK_SERVICE_DESCRIPTION = "Azure Private Link service configuration."
const AZURE_REGION_DESCRIPTION = `` /* 165-byte string literal not displayed */
const AZURE_SUBSCRIPTION_ID_DESCRIPTION = "ID linking the environment to a specific Azure subscription for resource management. **[IMMUTABLE]**"
const AZURE_TAGS_DESCRIPTION = "Tags to apply to Azure resources."
const AZURE_TENANT_ID_DESCRIPTION = "ID of the Azure Active Directory tenant for user identity and access management. **[IMMUTABLE]**"
const AZURE_ZONES_DESCRIPTION = `` /* 202-byte string literal not displayed */
const BUCKET_NAME_DESCRIPTION = "Bucket name"
const CIDR_DESCRIPTION = `` /* 214-byte string literal not displayed */
const CLOUD_CONNECT_DESCRIPTION = "" /* 152-byte string literal not displayed */
const CUSTOM_DOMAINS_DESCRIPTION = `Custom domains.
Examples:
- "example.com"
- "foo.bar.com"
For each custom domain you specify, please create the following DNS records:
` + "`" + `CNAME _acme-challenge.<custom_domain>. $env_name.altinity.cloud.` + "`" + `
E.g. for the above examples your records should be:
- ` + "`" + `CNAME _acme-challenge.example.com. $env_name.altinity.cloud.` + "`" + `
- ` + "`" + `CNAME _acme-challenge.foo.bar.com. $env_name.altinity.cloud.` + "`" + `
This will allow altinity to automatically provision a certificate for your custom domain.
You should also setup a CNAME to point from your custom domain to the environment public loadbalancer:
- ` + "`" + `CNAME *.<custom_domain>. _.$env_name.altinity.cloud.` + "`" + `
So for the above examples you would have two additional CNAME records:
- ` + "`" + `CNAME *.example.com. _.$env_name.altinity.cloud.` + "`" + `
- ` + "`" + `CNAME *.foo.bar.com. _.$env_name.altinity.cloud.` + "`" + `
`
const CUSTOM_DOMAIN_DESCRIPTION = "Deprecated. Use `custom_domains` instead."
const CUSTOM_NODE_TYPES_CPU_ALLOCATABLE_DESCRIPTION = "Number of allocatable virtual cores"
const CUSTOM_NODE_TYPES_DESCRIPTION = "Custom node types"
const CUSTOM_NODE_TYPES_MEMORY_ALLOCATABLE__DESCRIPTION = "Amount of allocatable memory in bytes"
const CUSTOM_NODE_TYPES_NAME_DESCRIPTION = "Custom node type unique identifier"
const DATADOG_DESCRIPTION = "Datadog agent configuration."
Datadog descriptions.
const DATADOG_DOMAIN_DESCRIPTION = "Datadog intake site domain (e.g. `us3.datadoghq.com`, `app.datadoghq.eu`). Defaults to `datadoghq.com`."
const DATADOG_ENABLED_DESCRIPTION = "Set to `true` if the Datadog agent is enabled, `false` otherwise (default `false`)."
const DATADOG_ENC_API_KEY_DESCRIPTION = "Datadog encrypted API key. Write-only — set to configure or rotate the key."
const DATADOG_LOGS_ENABLED_DESCRIPTION = "Set to `true` to enable ClickHouse log collection, `false` otherwise (default `false`)."
const DATADOG_METRICS_ENABLED_DESCRIPTION = "Set to `true` to enable ClickHouse metrics collection, `false` otherwise (default `false`)."
const DISTRIBUTION_DESCRIPTION = `Kubernetes distribution. **[IMMUTABLE]**
Possible values:
- "AKS"
- "EKS"
- "GKE"
- "CUSTOM"
`
const EKS_LOGGING_DESCRIPTION = "Enable/Disable EKS control plane logging to CloudWatch (default `false`)."
EKS Logging descriptions.
const ENDPOINT_ALIAS_DESCRIPTION = "" /* 175-byte string literal not displayed */
const ENDPOINT_DESCRIPTION = "AWS environment VPC endpoint configuration"
const ENDPOINT_PRIVATE_DNS_DESCRIPTION = "`true` indicates whether to associate a private hosted zone with the specified VPC (default `false`)."
const ENDPOINT_SERVICE_NAME_DESCRIPTION = "VPC endpoint service name in $endpoint_service_id.$region.vpce.amazonaws.com format."
const EXTERNAL_BUCKET_DESCRIPTION = `List of external S3 buckets to allow access to.
- Without a permissions boundary: listing the buckets here is enough, the environment's IAM roles are granted access to them.
- With a permissions boundary (` + "`enable_permissions_boundary = true`" + ` in the ` + "`altinitycloud_connect_aws`" + ` module): the same bucket names **must also** be passed to that module's ` + "`external_buckets`" + ` variable, otherwise the boundary caps the IAM roles and access is blocked (` + "`AccessDenied`" + ` on ` + "`s3:ListBucket`" + `) even when the bucket policy already grants it.
See the "AWS environment with external S3 buckets" example.
`
const EXTERNAL_BUCKET_KMS_KEY_ARN_DESCRIPTION = "" /* 708-byte string literal not displayed */
const EXTERNAL_BUCKET_NAME_DESCRIPTION = "External bucket name."
const FORCE_DESTROY_CLUSTERS_DESCRIPTION = "" /* 227-byte string literal not displayed */
const FORCE_DESTROY_DESCRIPTION = "" /* 445-byte string literal not displayed */
const GCP_LABELS_DESCRIPTION = "Labels to apply to GCP resources."
const GCP_NODE_GROUP_NODE_TYPE_DESCRIPTION = `Machine type ([docs](https://cloud.google.com/compute/docs/machine-resource)).
Examples:
- "e2-standard-2"
`
const GCP_PEERING_CONNECTION_DESCRIPTION = "Network peering configuration."
const GCP_PEERING_CONNECTION_NETWORK_NAME_DESCRIPTION = "Target network name."
const GCP_PEERING_CONNECTION_PROJECT_ID_DESCRIPTION = "Target network's project ID."
const GCP_PRIVATE_SERVICE_CONSUMERS_DESCRIPTION = "List of project IDs representing the network's private service consumers."
const GCP_PROJECT_ID_DESCRIPTION = "" /* 209-byte string literal not displayed */
const GCP_REGION_DESCRIPTION = `GCP region ([docs](https://cloud.google.com/about/locations)). **[IMMUTABLE]**
Examples:
- "us-west1".
`
GCP descriptions.
const GCP_ZONES_DESCRIPTION = `` /* 191-byte string literal not displayed */
const GCS_STORAGE_DESCRIPTION = "Google Cloud Storage configuration"
const HCLOUD_LOCATIONS_DESCRIPTION = `` /* 205-byte string literal not displayed */
const HCLOUD_NETWORK_ZONE_DESCRIPTION = `HCloud network ([docs](https://docs.hetzner.com/cloud/general/locations)). **[IMMUTABLE]**
Examples:
- "us-west".
`
const HCLOUD_TOKEN_ENC_DESCRIPTION = "HCloud token (stored encrypted)"
HCloud descriptions.
const HCLOUD_WIREGUARD_PEERS_ALLOWED_IPS_DESCRIPTION = "A list of addresses (in CIDR notation) that should get routed to the peer."
const HCLOUD_WIREGUARD_PEERS_DESCRIPTION = "HCloud Wireguard peer configuration."
const HCLOUD_WIREGUARD_PEERS_ENDPOINT_DESCRIPTION = "Peer endpoint."
const HCLOUD_WIREGUARD_PEERS_PUBLIC_KEY_DESCRIPTION = "Peer public key."
const HOSTED_AWS_CIDR_DESCRIPTION = "VPC CIDR block assigned to the environment."
const HOSTED_AWS_ZONE_IDS_DESCRIPTION = `` /* 136-byte string literal not displayed */
Altinity-hosted environment descriptions.
const HOSTED_EXTERNAL_BUCKET_DESCRIPTION = "List of external S3 buckets to allow access to. The environment IAM roles are granted access to every bucket listed here."
const HOSTED_NODE_GROUP_ZONE_IDS_DESCRIPTION = "Availability zone ids the node group spans. Defaults to the environment zone ids."
const HOSTED_RESOURCE_PREFIX_DESCRIPTION = "Prefix applied to the names of the cloud resources created for this environment. **[IMMUTABLE]**"
const ICEBERG_CATALOGS_DESCRIPTION = "List of Iceberg catalogs."
const ICEBERG_CATALOG_ANONYMOUS_ACCESS_ENABLED_DESCRIPTION = "Whether anonymous access is enabled (default `false`)."
const ICEBERG_CATALOG_ASSUME_ROLE_ARN_RO_DESCRIPTION = "IAM role ARN to assume for read-only access."
const ICEBERG_CATALOG_ASSUME_ROLE_ARN_RW_DESCRIPTION = "IAM role ARN to assume for read-write access."
const ICEBERG_CATALOG_AWS_REGION_DESCRIPTION = "AWS region for the catalog."
const ICEBERG_CATALOG_CUSTOM_S3_BUCKET_DESCRIPTION = "Custom S3 bucket name."
const ICEBERG_CATALOG_CUSTOM_S3_BUCKET_PATH_DESCRIPTION = "Path within the custom S3 bucket."
const ICEBERG_CATALOG_CUSTOM_S3_TABLE_BUCKET_ARN_DESCRIPTION = "ARN of the S3 Tables bucket."
const ICEBERG_CATALOG_MAINTENANCE_DESCRIPTION = "Maintenance configuration for the catalog."
const ICEBERG_CATALOG_MAINTENANCE_ENABLED_DESCRIPTION = "Whether maintenance is enabled (default `true`)."
const ICEBERG_CATALOG_NAME_DESCRIPTION = "Catalog name. Empty name represents the default catalog."
const ICEBERG_CATALOG_ROLE_ARN_DESCRIPTION = "IAM role ARN for BYOK environments."
const ICEBERG_CATALOG_TYPE_DESCRIPTION = `Catalog type.
Possible values:
- "S3": S3 bucket-based catalog
- "S3_TABLE": S3 Tables-based catalog
`
const ICEBERG_CATALOG_WATCHES_DESCRIPTION = "Table watch configurations."
const ICEBERG_CATALOG_WATCH_PATHS_DESCRIPTION = "Paths relative to table location to watch."
const ICEBERG_CATALOG_WATCH_TABLE_DESCRIPTION = "Table name to watch."
const ICEBERG_DESCRIPTION = "Iceberg configuration for Apache Iceberg table format support."
Iceberg descriptions.
const ID_DESCRIPTION = "ID of the environment (automatically generated based on the name)"
Shared descriptions.
const K8S_LOAD_BALANCER_ANNOTATIONS_DESCRIPTION = "List of annotations for the load balancer"
const K8S_NODE_GROUP_NODE_TYPE_DESCRIPTION = "node.kubernetes.io/instance-type value."
K8S descriptions.
const K8S_NODE_GROUP_ZONES_DESCRIPTION = "" /* 131-byte string literal not displayed */
const K8S_REGION_DESCRIPTION = "Cloud provider Region. Check possible available regions in your cloud provider documentation **[IMMUTABLE]**"
const KEY_DESCRIPTION = "Name of the key"
const KMS_KEY_ARN_DESCRIPTION = "ARN of the customer's KMS key for encrypting Altinity-provisioned data buckets and EBS volumes. **[IMMUTABLE]**"
const LOAD_BALANCER_DESCRIPTION = "Load balancers configuration."
const LOAD_BALANCER_ENABLED_DESCRIPTION = "Set to `true` if load balancer is enabled, `false` otherwise. (default `false`)"
const LOAD_BALANCER_INTERNAL_DESCRIPTION = "Internal load balancer configuration. Accessible via `*.internal.$env_name.altinity.cloud`."
const LOAD_BALANCER_PUBLIC_DESCRIPTION = "Public load balancer configuration. Accessible via `*.$env_name.altinity.cloud`."
const LOAD_BALANCING_STRATEGY_DESCRIPTION = `` /* 209-byte string literal not displayed */
const LOGS_DESCRIPTION = "Kubernetes environment logs configuration"
const MAINTENANCE_WINDOW_DAYS_DESCRIPTION = `` /* 161-byte string literal not displayed */
const MAINTENANCE_WINDOW_DESCRIPTION = "" /* 138-byte string literal not displayed */
const MAINTENANCE_WINDOW_ENABLED_DESCRIPTION = "Set to `true` if maintenance window is enabled, `false` otherwise. (default `false`)"
const MAINTENANCE_WINDOW_HOUR_DESCRIPTION = "Hour of the day in [0, 23] range."
const MAINTENANCE_WINDOW_LENGTH_IN_HOURS_DESCRIPTION = "Maintenance window length in hours. 4h min, 24h max."
const MAINTENANCE_WINDOW_NAME_DESCRIPTION = "Maintenance window identifier"
const METRICS_DESCRIPTION = "Metrics configuration"
const METRICS_ENDPOINT_DESCRIPTION = "Metrics endpoint configuration."
Metrics Endpoint descriptions.
const METRICS_ENDPOINT_ENABLED_DESCRIPTION = "Set to `true` if metrics endpoint is enabled, `false` otherwise (default `false`)."
const METRICS_ENDPOINT_SOURCE_IP_RANGES_DESCRIPTION = "IP addresses/blocks to allow traffic from when metrics endpoint is enabled."
const METRICS_RETENTION_PERIOD_IN_DAYS_DESCRIPTION = "Metrics retention period in days (default `30`)."
const NAME_DESCRIPTION = `` /* 285-byte string literal not displayed */
const NAT_DESCRIPTION = "Enable AWS NAT Gateway. **[IMMUTABLE]**"
const NODE_GROUP_CAPACITY_PER_ZONE_DESCRIPTION = "Maximum number of instances per availability zone."
const NODE_GROUP_DESCRIPTION = "List of node groups. At least one required."
const NODE_GROUP_NAME_DESCRIPTION = "Unique (among environment node groups) node group identifier."
const NODE_GROUP_RESERVATIONS_DESCRIPTION = `` /* 219-byte string literal not displayed */
const NODE_GROUP_SELECTOR_DESCRIPTION = "`nodeSelector` to apply to the pods targeting this group"
const NODE_GROUP_TOLERATIONS = "List of tolerations to apply to the pods targeting this group"
const NODE_GROUP_TOLERATIONS_EFFECT = `Node taint effect.
Possible values:
- "NO_SCHEDULE"
- "PREFER_NO_SCHEDULE"
- "NO_EXECUTE"
`
const NODE_GROUP_TOLERATIONS_KEY = "Taint key, e.g. 'dedicated'"
const NODE_GROUP_TOLERATIONS_OPERATOR = `Node toleration operator used to match taints.
Possible values:
- "EQUALS"
- "EXISTS"
`
const NODE_GROUP_TOLERATIONS_VALUE = "Taint value, e.g. 'clickhouse'"
const NODE_GROUP_ZONES_DESCRIPTION = "Availability zones. Check possible available zones in your cloud provider documentation"
const PEERING_CONNECTION_AWS_ACCOUNT_ID_DESCRIPTION = "Target VPC AWS account ID (defaults to environment AWS account ID)."
const PEERING_CONNECTION_DESCRIPTION = "AWS environment VPC peering configuration."
const PEERING_CONNECTION_ID_DESCRIPTION = "VPC peering connection ID."
const PEERING_CONNECTION_VPC_ID_DESCRIPTION = "Target VPC ID."
const PEERING_CONNECTION_VPC_REGION_DESCRIPTION = "Target VPC region (defaults to environment region)."
const PERMISSIONS_BOUNDARY_POLICY_ARN_DESCRIPTION = "Policy ARN that sets the maximum permissions for the IAM roles created by the environment. **[IMMUTABLE]**"
const RESOURCE_PREFIX_DESCRIPTION = "Resource prefix used for provisioned resources **[IMMUTABLE]**"
const S3_STORAGE_DESCRIPTION = "Amazon S3 configuration"
const SKIP_PROVISIONING_ON_DESTROY_DESCRIPTION = "" /* 179-byte string literal not displayed */
const SOURCE_IP_RANGES_DESCRIPTION = " IP addresses/blocks to allow traffic from (default `\"0.0.0.0/0\"`)."
const STATUS_APPLIED_SPEC_REVISION_DESCRIPTION = "Applied spec revision"
const STATUS_DESCRIPTION = "Environment status"
const STATUS_LOAD_BALANCERS_DESCRIPTION = "Load balancer status information."
const STATUS_LOAD_BALANCERS_ENDPOINT_SERVICE_NAME_DESCRIPTION = "VPC endpoint service name in $endpoint_service_id.$region.vpce.amazonaws.com format (if any)"
const STATUS_LOAD_BALANCERS_INTERNAL_DESCRIPTION = "Status of internal load balancer."
const STATUS_PENDING_DELETE_DESCRIPTION = "`true` indicates that environment is pending deletion"
const STATUS_SPEC_REVISION_DESCRIPTION = "Spec revision"
const STATUS_WAIT_FOR_APPLIED_SPEC_REVISION_DESCRIPTION = "" /* 152-byte string literal not displayed */
const STORAGE_DESCRIPTION = "Storage backend configuration"
const VALUE_DESCRIPTION = "Value of the key"
const VERBOSE_DESCRIPTION = "" /* 136-byte string literal not displayed */
Status verbose descriptions.
Variables ¶
var AppliedSpecRevisionAttribute = rschema.Int64Attribute{ Computed: true, MarkdownDescription: STATUS_APPLIED_SPEC_REVISION_DESCRIPTION, }
var DomainRegex = regexp.MustCompile("^[a-z0-9][a-z0-9-]{0,63}([.][a-z0-9][a-z0-9-]{0,63})+$")
var EnabledAttribute = rschema.BoolAttribute{ Optional: true, Computed: true, MarkdownDescription: LOAD_BALANCER_ENABLED_DESCRIPTION, Default: booldefault.StaticBool(false), }
var IDAttribute = rschema.StringAttribute{ Computed: true, MarkdownDescription: ID_DESCRIPTION, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }
var KeyValueAttribute = rschema.NestedAttributeObject{ Attributes: map[string]rschema.Attribute{ "key": rschema.StringAttribute{ Required: true, MarkdownDescription: KEY_DESCRIPTION, }, "value": rschema.StringAttribute{ Required: true, MarkdownDescription: VALUE_DESCRIPTION, }, }, }
var NameAttribute = rschema.StringAttribute{ Required: true, MarkdownDescription: NAME_DESCRIPTION, PlanModifiers: []planmodifier.String{ stringplanmodifier.RequiresReplace(), }, }
var NodeGroupAttribute = rschema.NestedAttributeObject{ Attributes: map[string]rschema.Attribute{ "name": rschema.StringAttribute{ Optional: true, Computed: true, MarkdownDescription: NODE_GROUP_NAME_DESCRIPTION, Validators: []validator.String{ stringvalidator.LengthAtLeast(1), }, }, "node_type": rschema.StringAttribute{ Required: true, MarkdownDescription: NODE_GROUP_DESCRIPTION, }, "capacity_per_zone": rschema.Int64Attribute{ Required: true, MarkdownDescription: NODE_GROUP_CAPACITY_PER_ZONE_DESCRIPTION, Validators: []validator.Int64{ int64validator.AtLeast(1), }, }, "zones": rschema.ListAttribute{ ElementType: types.StringType, Optional: true, Computed: true, MarkdownDescription: NODE_GROUP_ZONES_DESCRIPTION, Validators: []validator.List{ listvalidator.SizeAtLeast(1), }, }, "reservations": GetReservationsAttribute(true, false, false), }, }
var PendingDeleteAttribute = rschema.BoolAttribute{ Required: false, Optional: false, Computed: true, MarkdownDescription: STATUS_PENDING_DELETE_DESCRIPTION, }
var SourceIPRangesAttribute = rschema.ListAttribute{ ElementType: types.StringType, Optional: true, MarkdownDescription: SOURCE_IP_RANGES_DESCRIPTION, Validators: []validator.List{ listvalidator.SizeAtLeast(1), listvalidator.ValueStringsAre( validators.CIDR(), ), }, }
var SpecRevisionAttribute = rschema.Int64Attribute{ Computed: true, MarkdownDescription: STATUS_SPEC_REVISION_DESCRIPTION, }
var VerboseAttribute = rschema.BoolAttribute{ Optional: true, Computed: true, MarkdownDescription: VERBOSE_DESCRIPTION, Default: booldefault.StaticBool(true), }
var WaitForAppliedSpecRevisionAttribute = rschema.Int64Attribute{ Optional: true, MarkdownDescription: STATUS_WAIT_FOR_APPLIED_SPEC_REVISION_DESCRIPTION, }
Functions ¶
func AddClientError ¶ added in v0.7.0
func AddClientError(diags *diag.Diagnostics, detail string)
AddClientError appends a "Client Error" diagnostic to diags. The support message is only appended once per diagnostics collection to avoid duplicates when multiple errors are emitted during the same operation.
func AddSupportError ¶ added in v0.7.0
func AddSupportError(diags *diag.Diagnostics, summary, detail string)
AddSupportError appends an error diagnostic with the given summary and attaches the support contact message to the detail, but only if no other diagnostic in the collection already includes it.
func GetAllowDeleteWhileDisconnectedAttribute ¶ added in v0.4.6
func GetAllowDeleteWhileDisconnectedAttribute(required, optional, computed bool) rschema.BoolAttribute
func GetCIDRAttribute ¶
func GetCIDRAttribute(required, optional, computed bool) rschema.StringAttribute
func GetCommonCustomDomainAttribute ¶ added in v0.2.1
func GetCommonCustomDomainAttribute(required, optional, computed bool) rschema.StringAttribute
func GetCommonCustomDomainsAttribute ¶ added in v0.7.0
func GetCommonCustomDomainsAttribute(required, optional, computed bool) rschema.ListAttribute
func GetCustomDomainAttribute ¶
func GetCustomDomainAttribute(required, optional, computed bool, description string) rschema.StringAttribute
func GetCustomDomainsAttribute ¶ added in v0.7.0
func GetCustomDomainsAttribute(required, optional, computed bool, description string) rschema.ListAttribute
func GetDatadogAttribute ¶ added in v0.7.0
func GetDatadogAttribute(required, optional, computed bool) rschema.SingleNestedAttribute
func GetForceDestroyAttribute ¶
func GetForceDestroyAttribute(required, optional, computed bool) rschema.BoolAttribute
func GetForceDestroyClustersAttribute ¶ added in v0.1.2
func GetForceDestroyClustersAttribute(required, optional, computed bool) rschema.BoolAttribute
func GetLoadBalancingStrategyAttribute ¶
func GetLoadBalancingStrategyAttribute(required, optional, computed bool) rschema.StringAttribute
func GetMaintenanceWindowAttribute ¶
func GetMaintenanceWindowAttribute(required, optional, computed bool) rschema.ListNestedAttribute
func GetMetricsEndpointAttribute ¶ added in v0.5.0
func GetMetricsEndpointAttribute(required, optional, computed bool) rschema.SingleNestedAttribute
func GetNodeGroupsAttribute ¶ added in v0.4.0
func GetNodeGroupsAttribute(required, optional, computed bool) rschema.ListNestedAttribute
func GetRegionAttribute ¶ added in v0.4.0
func GetRegionAttribute(required, optional, computed bool, description string) rschema.StringAttribute
func GetReservationsAttribute ¶
func GetReservationsAttribute(required, optional, computed bool) rschema.SetAttribute
func GetSkipProvisioningOnDestroyAttribute ¶
func GetSkipProvisioningOnDestroyAttribute(required, optional, computed bool) rschema.BoolAttribute
func GetTagsAttribute ¶ added in v0.2.0
func GetTagsAttribute(required, optional, computed bool, description string) rschema.ListNestedAttribute
func GetZonesAttribute ¶
func GetZonesAttribute(required, optional, computed bool, description string) rschema.ListAttribute
Types ¶
This section is empty.