mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-12 05:21:33 +01:00
added the ability to optionally specify worker_image_id
This commit is contained in:
10
data.tf
10
data.tf
@@ -1,5 +1,15 @@
|
||||
data "aws_region" "current" {}
|
||||
|
||||
data "aws_ami" "eks_worker" {
|
||||
filter {
|
||||
name = "name"
|
||||
values = ["eks-worker-*"]
|
||||
}
|
||||
|
||||
most_recent = true
|
||||
owners = ["602401143452"] # Amazon
|
||||
}
|
||||
|
||||
data "aws_iam_policy_document" "workers_assume_role_policy" {
|
||||
statement {
|
||||
sid = "EKSWorkerAssumeRole"
|
||||
|
||||
Reference in New Issue
Block a user