mirror of
https://github.com/inspec/inspec
synced 2024-12-25 12:33:25 +00:00
0af7105eba
Signed-off-by: Rony Xavier <rx294@nyu.edu>
21 lines
329 B
HCL
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}"
|
|
}
|