Skip to content

Commit 837864c

Browse files
authored
fix: shutdown behavior for the instance defaults to STOP (#66)
1 parent 19037f3 commit 837864c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

variables.tf

+3-2
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,9 @@ variable "disable_api_termination" {
9999
}
100100

101101
variable "instance_initiated_shutdown_behavior" {
102-
type = string
103-
default = "terminate"
102+
type = string
103+
default = "stop"
104+
description = "(Optional) Shutdown behavior for the instance. Amazon defaults this to `stop` for EBS-backed instances and `terminate` for instance-store instances. Cannot be set on instance-store instances. See Shutdown Behavior for more information."
104105
}
105106

106107
variable "placement_group" {

0 commit comments

Comments
 (0)