inspec/test/aws/default/build/aws.tf
Clinton Wolfe 16fe52b084 Rearrange AWS files for merge into core
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-02-08 09:24:15 -05:00

21 lines
329 B
HCL

terraform {
required_version = "~> 0.10.0"
}
provider "aws" {
version = "= 1.1"
}
data "aws_caller_identity" "creds" {}
output "aws_account_id" {
value = "${data.aws_caller_identity.creds.account_id}"
}
data "aws_region" "region" {
current = true
}
output "aws_region" {
value = "${data.aws_region.region.name}"
}