github.com/vtorhonen/terraform@v0.9.0-beta2.0.20170307220345-5d894e4ffda7/website/source/docs/providers/aws/d/iam_account_alias.html.markdown (about) 1 --- 2 layout: "aws" 3 page_title: "AWS: aws_iam_account_alias" 4 sidebar_current: "docs-aws-datasource-iam-account-alias" 5 description: |- 6 Provides the account alias for the AWS account associated with the provider 7 connection to AWS. 8 --- 9 10 # aws\_iam\_account\_alias 11 12 The IAM Account Alias data source allows access to the account alias 13 for the effective account in which Terraform is working. 14 15 ## Example Usage 16 17 ``` 18 data "aws_iam_account_alias" "current" {} 19 20 output "account_id" { 21 value = "${data.aws_iam_account_alias.current.account_alias}" 22 } 23 ``` 24 25 ## Argument Reference 26 27 There are no arguments available for this data source. 28 29 ## Attributes Reference 30 31 The following attributes are exported: 32 33 * `account_alias` - The alias associated with the AWS account.