Open1
terraform tips and snipets
AWS My Account ID
data "aws_caller_identity" "this" { }
output "my_account_id" {
value = "${data.aws_caller_identity.this.account_id}"
}
AWS My Account ID
data "aws_caller_identity" "this" { }
output "my_account_id" {
value = "${data.aws_caller_identity.this.account_id}"
}