Created
May 11, 2017 11:47
-
-
Save arehmandev/e8f86f76ad8b20a838b03a64ba6c1a6b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data "aws_ami" "coreos_etcd" { | |
most_recent = true | |
owners = ["${var.ownerid}"] | |
filter { | |
name = "architecture" | |
values = ["x86_64"] | |
} | |
filter { | |
name = "root-device-type" | |
values = ["ebs"] | |
} | |
filter { | |
name = "virtualization-type" | |
values = ["${var.virtualization_type}"] | |
} | |
filter { | |
name = "name" | |
values = ["${var.ami_name}-${var.channel}-*"] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment