0
0
llucycodes42
The code creates an output variable called account_id with the value of the data.aws_caller_identity.current.account_id value.
Shortcut: tf_aws_caller_identity
data "aws_caller_identity" "current" { }
output "account_id" {
value = "\${data.aws_caller_identity.current.account_id}"
}