We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a69744 commit d8b1b04Copy full SHA for d8b1b04
main.tf
@@ -1,5 +1,5 @@
1
locals {
2
- is_t_instance_type = replace(var.instance_type, "/^t[23]{1}\\..*$/", "1") == "1" ? true : false
+ is_t_instance_type = replace(var.instance_type, "/^t(2|3|3a){1}\\..*$/", "1") == "1" ? true : false
3
}
4
5
resource "aws_instance" "this" {
0 commit comments