github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/aws/r/iam_account_alias.html.markdown (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: aws_iam_account_alias"
     4  sidebar_current: "docs-aws-resource-iam-account-alias"
     5  description: |-
     6    Manages the account alias for the AWS Account.
     7  ---
     8  
     9  # aws\_iam\_account\_alias
    10  
    11  -> **Note:** There is only a single account alias per AWS account.
    12  
    13  Manages the account alias for the AWS Account.
    14  
    15  ## Example Usage
    16  
    17  ```hcl
    18  resource "aws_iam_account_alias" "alias" {
    19    account_alias = "my-account-alias"
    20  }
    21  ```
    22  
    23  ## Argument Reference
    24  
    25  The following arguments are supported:
    26  
    27  * `account_alias` - (Required) The account alias
    28  
    29  ## Import
    30  
    31  The current Account Alias can be imported using the `account_alias`, e.g.
    32  
    33  ```
    34  $ terraform import aws_iam_account_alias.alias my-account-alias
    35  ```