Sha256: 1d7c5ee8a7049e8cedf664876988ef70374a091359ed79b41517edd61b828878
Contents?: true
Size: 1.08 KB
Versions: 16
Compression:
Stored size: 1.08 KB
Contents
data "aws_ami" "windows_ami" { most_recent = true filter { name = "owner-alias" values = ["amazon"] } filter { name = "name" values = ["Windows_Server-2016-English-Nano-Base-*"] } filter { name = "architecture" values = ["x86_64"] } filter { name = "virtualization-type" values = ["hvm"] } filter { name = "block-device-mapping.volume-type" values = ["gp2"] } filter { name = "image-type" values = ["machine"] } } resource "aws_instance" "windows_server_nano_ami" { count = 1 ami = "${data.aws_ami.windows_ami.id}" instance_type = "${var.aws_instance_type}" key_name = "es-infrastructure" associate_public_ip_address = true subnet_id = "subnet-11ac0174" # Planet Releng Public Subnet source_dest_check = false vpc_security_group_ids = [ "sg-96274af3", ] tags { # ChefOps's AWS standard tags: X-Dept = "EngServ" X-Contact = "pwright" X-Production = "false" X-Environment = "acceptance" X-Application = "mixlib-install" } }
Version data entries
16 entries across 16 versions & 1 rubygems