mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-13 10:01:08 -04:00
* docs: update AWS examples. Disntinguish between alb and alb listener datasource * more hcl highlighting * more hcl * fix missing end quote in docs * docs: finish updates to AWS data source highlights Also updates layout to distinguish some resources
759 B
759 B
layout, page_title, sidebar_current, description
| layout | page_title | sidebar_current | description |
|---|---|---|---|
| aws | AWS: aws_iam_account_alias | docs-aws-datasource-iam-account-alias | Provides the account alias for the AWS account associated with the provider connection to AWS. |
aws_iam_account_alias
The IAM Account Alias data source allows access to the account alias for the effective account in which Terraform is working.
Example Usage
data "aws_iam_account_alias" "current" {}
output "account_id" {
value = "${data.aws_iam_account_alias.current.account_alias}"
}
Argument Reference
There are no arguments available for this data source.
Attributes Reference
The following attributes are exported:
account_alias- The alias associated with the AWS account.