mirror of
https://github.com/inspec/inspec
synced 2024-12-01 00:49:24 +00:00
b3fafab1e6
* add aws_eks_cluster Signed-off-by: Timothy van Zadelhoff timothy.inspec@theothersolution.nl * disable ABC check on fetch_from_api Signed-off-by: Timothy van Zadelhoff <timothy.inspec@theothersolution.nl> * add status predicates * Change docs for status attribute Signed-off-by: Timothy van Zadelhoff <timothy.inspec@theothersolution.nl> * Add integration tests Signed-off-by: Timothy van Zadelhoff <timothy.inspec@theothersolution.nl> * Adjust EKS build code to almost work Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com> * EKS only uses private subnets - integration tests pass Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com> * Correct AWS Exception class for resource search miss in unit test Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com> * Update unit test to reflect AWS resource-standard miss behavior, returning nil for most properties Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
22 lines
No EOL
376 B
HCL
22 lines
No EOL
376 B
HCL
terraform {
|
|
required_version = "~> 0.11.0"
|
|
}
|
|
|
|
provider "aws" {
|
|
# was 1.13.0
|
|
version = "= 1.42.0"
|
|
}
|
|
|
|
data "aws_caller_identity" "creds" {}
|
|
|
|
output "aws_account_id" {
|
|
value = "${data.aws_caller_identity.creds.account_id}"
|
|
}
|
|
|
|
data "aws_region" "current" {}
|
|
|
|
output "aws_region" {
|
|
value = "${data.aws_region.current.name}"
|
|
}
|
|
|
|
data "aws_availability_zones" "available" {} |