Terraform resource for managing an AWS WorkSpaces Connection Alias.
resource "aws_workspaces_connection_alias" "example" {
connection_string = "testdomain.test"
}
The following arguments are required:
connection_string
- (Required) The connection string specified for the connection alias. The connection string must be in the form of a fully qualified domain name (FQDN), such as www.example.com.tags
– (Optional) A map of tags assigned to the WorkSpaces Connection Alias. If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.This resource exports the following attributes in addition to the arguments above:
id
- The identifier of the connection alias.owner_account_id
- The identifier of the Amazon Web Services account that owns the connection alias.state
- The current state of the connection alias.tags_all
- A map of tags assigned to the resource, including those inherited from the provider default_tags
configuration block.create
- (Default 60m
)update
- (Default 180m
)delete
- (Default 90m
)In Terraform v1.5.0 and later, use an import
block to import WorkSpaces Connection Alias using the connection alias ID. For example:
import {
to = aws_workspaces_connection_alias.example
id = "rft-8012925589"
}
Using terraform import
, import WorkSpaces Connection Alias using the connection alias ID. For example:
% terraform import aws_workspaces_connection_alias.example rft-8012925589