Skip to content

Commit db1fd7f

Browse files
authored
fix: remove deprecated elastic_gpu_specifications (#154)
1 parent 77c2cc6 commit db1fd7f

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

main.tf

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,6 @@ resource "aws_launch_template" "default" {
4242
ebs_optimized = var.ebs_optimized
4343
update_default_version = var.update_default_version
4444

45-
dynamic "elastic_gpu_specifications" {
46-
for_each = var.elastic_gpu_specifications != null ? [var.elastic_gpu_specifications] : []
47-
content {
48-
type = lookup(elastic_gpu_specifications.value, "type", null)
49-
}
50-
}
51-
5245
image_id = var.image_id
5346
instance_initiated_shutdown_behavior = var.instance_initiated_shutdown_behavior
5447

variables.tf

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -177,16 +177,6 @@ variable "credit_specification" {
177177
default = null
178178
}
179179

180-
variable "elastic_gpu_specifications" {
181-
description = "Specifications of Elastic GPU to attach to the instances"
182-
183-
type = object({
184-
type = string
185-
})
186-
187-
default = null
188-
}
189-
190180
variable "disable_api_termination" {
191181
type = bool
192182
description = "If `true`, enables EC2 Instance Termination Protection"

0 commit comments

Comments
 (0)