mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-11-13 14:43:29 +01:00
feat: Ensure all supported resources are tagged under tag_specifications on launch templates (#2352)
Resolves undefined
This commit is contained in:
1 parent
ece82472a6
commit
0751a0ca04
2 files changed
+2
-2
No files matched your search
@@ -270,7 +270,7 @@ resource "aws_launch_template" "this" {
|
||||
ram_disk_id = var.ram_disk_id
|
||||
|
||||
dynamic "tag_specifications" {
|
||||
for_each = toset(["instance", "volume", "network-interface"])
|
||||
for_each = toset(["instance", "volume", "elastic-gpu", "network-interface", "spot-instances-request"])
|
||||
|
||||
content {
|
||||
resource_type = tag_specifications.key
|
||||
|
||||
@@ -364,7 +364,7 @@ resource "aws_launch_template" "this" {
|
||||
ram_disk_id = var.ram_disk_id
|
||||
|
||||
dynamic "tag_specifications" {
|
||||
for_each = toset(["instance", "volume", "network-interface"])
|
||||
for_each = toset(["instance", "volume", "elastic-gpu", "network-interface", "spot-instances-request"])
|
||||
|
||||
content {
|
||||
resource_type = tag_specifications.key
|
||||
|
||||
Reference in new issue
Block a user