mirror of
https://github.com/inspec/inspec
synced 2024-12-20 18:13:20 +00:00
340b6eb4b4
* Update terrform to 0.11.7 (latest) and aws plugin to 1.14; upgrade plugins on test startup * TF route table resource doesn't export associations or routes attributes. Which we weren't using anyway. * Downgrade to aws plugin 1.13 to avoid TF panic; suppress deprecation warning for aws_region * Fix incoherent attribute combination on cloudtrail * Add -auto-approve to suppress interactive confirmation * Update version pinning for AWS minimal account * Use a plan file in AWS runs * Pin azure TF run to 0.11 and 1.3; also an autoformatter pass on the TF code. Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
13 lines
215 B
HCL
13 lines
215 B
HCL
terraform {
|
|
required_version = "~> 0.11.0"
|
|
}
|
|
|
|
provider "aws" {
|
|
version = "= 1.13.0"
|
|
}
|
|
|
|
data "aws_caller_identity" "creds" {}
|
|
|
|
output "aws_account_id" {
|
|
value = "${data.aws_caller_identity.creds.account_id}"
|
|
}
|