Skip to content

Commit d8b1b04

Browse files
authored
Updated t instance type check to include t3a type (#145)
1 parent 2a69744 commit d8b1b04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
locals {
2-
is_t_instance_type = replace(var.instance_type, "/^t[23]{1}\\..*$/", "1") == "1" ? true : false
2+
is_t_instance_type = replace(var.instance_type, "/^t(2|3|3a){1}\\..*$/", "1") == "1" ? true : false
33
}
44

55
resource "aws_instance" "this" {

0 commit comments

Comments
 (0)