mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-05-01 12:54:29 +02:00
fix: Pass nodeadm user data variables from root module down to nodegroup sub-modules (#2981)
This commit is contained in:
@@ -81,6 +81,28 @@ variable "user_data_template_path" {
|
||||
default = ""
|
||||
}
|
||||
|
||||
variable "cloudinit_pre_nodeadm" {
|
||||
description = "Array of cloud-init document parts that are created before the nodeadm document part"
|
||||
type = list(object({
|
||||
content = string
|
||||
content_type = optional(string)
|
||||
filename = optional(string)
|
||||
merge_type = optional(string)
|
||||
}))
|
||||
default = []
|
||||
}
|
||||
|
||||
variable "cloudinit_post_nodeadm" {
|
||||
description = "Array of cloud-init document parts that are created after the nodeadm document part"
|
||||
type = list(object({
|
||||
content = string
|
||||
content_type = optional(string)
|
||||
filename = optional(string)
|
||||
merge_type = optional(string)
|
||||
}))
|
||||
default = []
|
||||
}
|
||||
|
||||
################################################################################
|
||||
# Launch template
|
||||
################################################################################
|
||||
|
||||
Reference in New Issue
Block a user