Skip to content

Commit

Permalink
Fix: Setting default values 'Ignore' for scale_in_protected_instances…
Browse files Browse the repository at this point in the history
… and standby_instances
  • Loading branch information
adiospeds committed Sep 8, 2023
1 parent b45c86f commit a2b54a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/service/autoscaling/group.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ func ResourceGroup() *schema.Resource {
"scale_in_protected_instances": {
Type: schema.TypeString,
Optional: true,
Default: "Ignore",
ValidateFunc: validation.StringInSlice(autoscaling.ScaleInProtectedInstances_Values(), false),
},
"skip_matching": {
Expand All @@ -221,6 +222,7 @@ func ResourceGroup() *schema.Resource {
"standby_instances": {
Type: schema.TypeString,
Optional: true,
Default: "Ignore",
ValidateFunc: validation.StringInSlice(autoscaling.StandbyInstances_Values(), false),
},
},
Expand Down

0 comments on commit a2b54a5

Please sign in to comment.