Files
threshold/enos/modules/aws_az_finder/main.tf
T
Michael Li 9c9e033271 chore(enos): Move terraform-enos-aws-boundary to boundary (#3773)
* chore(enos): Move `terraform-enos-aws-boundary` to `boundary`

* chore(enos): Rename module tag

* chore(enos): Refactor module names

* fixup! chore(enos): Move `terraform-enos-aws-boundary` to `boundary`

* fixup! chore(enos): Move `terraform-enos-aws-boundary` to `boundary`

* chore(enos): Refactored hard-coded module tag
2023-10-10 09:28:04 -04:00

30 lines
506 B
Terraform

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
/*
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
}
}
}
*/
variable "instance_type" {
default = ["t3.small"]
type = list(string)
}
data "aws_ec2_instance_type_offerings" "infra" {
filter {
name = "instance-type"
values = var.instance_type
}
location_type = "availability-zone"
}
output "availability_zones" {
value = data.aws_ec2_instance_type_offerings.infra.locations
}