diff options
author | Spike <avlampson+git@gmail.com> | 2019-05-09 15:05:04 +0100 |
---|---|---|
committer | Spike <avlampson+git@gmail.com> | 2019-05-09 15:05:04 +0100 |
commit | 8907927fab9bf122bd4f5ad0928abe6b9faec449 (patch) | |
tree | 7320aae3731f9efd616be9c4f8156499dc30d10c /terraform/ami.tf | |
parent | 1c0b57878c9ac06b707ce52a2f381b244f4ea7ac (diff) | |
download | sensyne_demo-8907927fab9bf122bd4f5ad0928abe6b9faec449.zip sensyne_demo-8907927fab9bf122bd4f5ad0928abe6b9faec449.tar.gz sensyne_demo-8907927fab9bf122bd4f5ad0928abe6b9faec449.tar.bz2 |
Adding autoscaling group for worker nodes, and kube config
Diffstat (limited to 'terraform/ami.tf')
-rw-r--r-- | terraform/ami.tf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/terraform/ami.tf b/terraform/ami.tf new file mode 100644 index 0000000..47dc01f --- /dev/null +++ b/terraform/ami.tf @@ -0,0 +1,10 @@ +data "aws_ami" "eks-worker" { + filter { + name = "name" + values = ["amazon-eks-node-${aws_eks_cluster.sensyne_demo_cluster.version}-v*"] + } + + most_recent = true + owners = ["602401143452"] # Amazon EKS AMI Account ID +} + |