Skip to content

Latest commit

 

History

History
59 lines (44 loc) · 2.09 KB

quickcreate_aws_workspaces_account.md

File metadata and controls

59 lines (44 loc) · 2.09 KB
page_title subcategory description
citrix_quickcreate_aws_workspaces_account Resource - citrix
DaaS Quick Deploy - AWS WorkSpaces Core
Manages an AWS WorkSpaces account.

citrix_quickcreate_aws_workspaces_account (Resource)

Manages an AWS WorkSpaces account.

Example Usage

# Quick Deploy AWS WorkSpaces Account with AWS Role ARN
resource "citrix_quickcreate_aws_workspaces_account" "example_aws_workspaces_account_role_arn" {
    name         = "exampe-aws-workspaces-account-role-arn"
    aws_region   = "us-east-1"
    aws_role_arn = "<AWS Role ARN>"
}

# Quick Deploy AWS WorkSpaces Account with AWS Access Key and Secret Access Key
resource "citrix_quickcreate_aws_workspaces_account" "example_aws_workspaces_account_access_key" {
    name                  = "exampe-aws-workspaces-account-access-key"
    aws_region            = "us-east-1"
    aws_access_key_id     = var.aws_access_key_id     # AWS Access Key ID from variable
    aws_secret_access_key = var.aws_secret_access_key # AWS Secret Access Key from variable
}

Schema

Required

  • aws_region (String) AWS region the account is associated with.
  • name (String) Name of the account.

Optional

  • aws_access_key_id (String) ID of the Access Key associated with the account.
  • aws_byol_feature_enabled (Boolean) Indicates if the associated AWS EDC account has BYOL support enabled.
  • aws_role_arn (String, Sensitive) ARN of the role to assume when making requests in this account.
  • aws_secret_access_key (String, Sensitive) Secret associated with the Access Key for the account.

Read-Only

  • aws_account (String) AWS account number associated with the account.
  • id (String) GUID identifier of the account.

Import

Import is supported using the following syntax:

# Quick Deploy AWS WorkSpaces Account can be imported by specifying the Account GUID
terraform import citrix_quickcreate_aws_workspaces_account.test_aws_workspaces_account 00000000-0000-0000-0000-000000000000