ecs_terraform_workshop icon indicating copy to clipboard operation
ecs_terraform_workshop copied to clipboard

Error After Executing Terraform Plan

Open andreprawira opened this issue 4 years ago • 0 comments

In your video at 19:38 when you created a key pair manually, i did the same too (my naming convention is following yours), and when i execute terraform plan afterwards, i'd get this error:

Error: Call to unknown function

  on .terraform\modules\vpc\main.tf line 288, in resource "aws_subnet" "public":
 288:   availability_zone               = length(regexall("^[a-z]{2}-", element(var.azs, count.index))) > 0 ? element(var.azs, count.index) : null

There is no function named "regexall".

Anyone know whats going on?

andreprawira avatar Feb 22 '21 15:02 andreprawira