You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -131,7 +132,7 @@ Use [the awesome `gossm` project](https://github.com/gjbae1212/gossm).
131
132
| <aname="input_enabled"></a> [enabled](#input\_enabled)| Set to false to prevent the module from creating any resources |`bool`|`null`| no |
132
133
| <aname="input_environment"></a> [environment](#input\_environment)| ID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'staging', 'dev', 'UAT' |`string`|`null`| no |
133
134
| <aname="input_id_length_limit"></a> [id\_length\_limit](#input\_id\_length\_limit)| Limit `id` to this many characters (minimum 6).<br>Set to `0` for unlimited length.<br>Set to `null` for keep the existing setting, which defaults to `0`.<br>Does not affect `id_full`. |`number`|`null`| no |
134
-
| <aname="input_instance_type"></a> [instance\_type](#input\_instance\_type)| The instance type to use for the SSM Agent EC2 Instnace. |`string`|`"t3.nano"`| no |
135
+
| <aname="input_instance_type"></a> [instance\_type](#input\_instance\_type)| The instance type to use for the SSM Agent EC2 instance. |`string`|`"t4g.nano"`| no |
135
136
| <aname="input_key_pair_name"></a> [key\_pair\_name](#input\_key\_pair\_name)| The name of the key-pair to associate with the SSM Agent instances. This can be (and probably should) left empty unless you specifically plan to use `AWS-StartSSHSession`. |`string`|`null`| no |
136
137
| <aname="input_label_key_case"></a> [label\_key\_case](#input\_label\_key\_case)| Controls the letter case of the `tags` keys (label names) for tags generated by this module.<br>Does not affect keys of tags passed in via the `tags` input.<br>Possible values: `lower`, `title`, `upper`.<br>Default value: `title`. |`string`|`null`| no |
137
138
| <aname="input_label_order"></a> [label\_order](#input\_label\_order)| The order in which the labels (ID elements) appear in the `id`.<br>Defaults to ["namespace", "environment", "stage", "name", "attributes"].<br>You can omit any of the 6 labels ("tenant" is the 6th), but at least one must be present. |`list(string)`|`null`| no |
@@ -146,8 +147,10 @@ Use [the awesome `gossm` project](https://github.com/gjbae1212/gossm).
146
147
| <aname="input_name"></a> [name](#input\_name)| ID element. Usually the component or solution name, e.g. 'app' or 'jenkins'.<br>This is the only ID element not also included as a `tag`.<br>The "name" tag is set to the full `id` string. There is no tag with the value of the `name` input. |`string`|`null`| no |
147
148
| <aname="input_namespace"></a> [namespace](#input\_namespace)| ID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp', to help ensure generated IDs are globally unique |`string`|`null`| no |
148
149
| <aname="input_permissions_boundary"></a> [permissions\_boundary](#input\_permissions\_boundary)| The ARN of the permissions boundary that will be applied to the SSM Agent role. |`string`|`""`| no |
150
+
| <aname="input_protect_from_scale_in"></a> [protect\_from\_scale\_in](#input\_protect\_from\_scale\_in)| Allows setting instance protection for scale in actions on the ASG. |`bool`|`false`| no |
149
151
| <aname="input_regex_replace_chars"></a> [regex\_replace\_chars](#input\_regex\_replace\_chars)| Terraform regular expression (regex) string.<br>Characters matching the regex will be removed from the ID elements.<br>If not set, `"/[^a-zA-Z0-9-]/"` is used to remove all characters other than hyphens, letters and digits. |`string`|`null`| no |
150
152
| <aname="input_region"></a> [region](#input\_region)| The region to deploy the S3 bucket for session logs. If not supplied, the module will use the current region. |`string`|`""`| no |
153
+
| <aname="input_scale_in_protected_instances"></a> [scale\_in\_protected\_instances](#input\_scale\_in\_protected\_instances)| Behavior when encountering instances protected from scale in are found. Available behaviors are Refresh, Ignore, and Wait. Default is Ignore. |`string`|`"Ignore"`| no |
151
154
| <aname="input_session_logging_bucket_name"></a> [session\_logging\_bucket\_name](#input\_session\_logging\_bucket\_name)| The name of the S3 Bucket to ship session logs to. This will remove creation of an independent session logging bucket. This is only relevant if the session\_logging\_enabled variable is `true`. |`string`|`""`| no |
152
155
| <aname="input_session_logging_enabled"></a> [session\_logging\_enabled](#input\_session\_logging\_enabled)| To enable CloudWatch and S3 session logging or not. Note this does not apply to SSH sessions as AWS cannot log those sessions. |`bool`|`true`| no |
153
156
| <aname="input_session_logging_encryption_enabled"></a> [session\_logging\_encryption\_enabled](#input\_session\_logging\_encryption\_enabled)| To enable CloudWatch and S3 session logging encryption or not. |`bool`|`true`| no |
description="Allows setting instance protection for scale in actions on the ASG."
172
+
type=bool
173
+
default=false
174
+
}
175
+
176
+
variable"scale_in_protected_instances" {
177
+
description="Behavior when encountering instances protected from scale in are found. Available behaviors are Refresh, Ignore, and Wait. Default is Ignore."
0 commit comments