Data Source: aws_canonical_user_id

The Canonical User ID data source allows access to the canonical user ID for the effective account in which Terraform is working.

Example Usage

data "aws_canonical_user_id" "current" {}

output "canonical_user_id" {
  value = data.aws_canonical_user_id.current.id
}

Argument Reference

There are no arguments available for this data source.

Attribute Reference

This data source exports the following attributes in addition to the arguments above: