_
x Error: Invalid count argument
x
x on .terraform/modules/es_alarms/main.tf line 5, in resource "aws_sns_topic" "default_prefix":
x 5: count = var.sns_topic == "" && var.create_sns_topic == true ? 1 : 0
x
x The "count" value depends on resource attributes that cannot be determined until apply, so Terraform cannot predict how many instances will be created. To work around this, use the -target argument to first apply only the resources that the count depends on.
_
_
x Error: Invalid count argument
x
x on .terraform/modules/es_alarms/main.tf line 11, in resource "aws_sns_topic" "default":
x 11: count = var.sns_topic != "" && var.create_sns_topic == true ? 1 : 0
x
x The "count" value depends on resource attributes that cannot be determined until apply, so Terraform cannot predict how many instances will be created. To work around this, use the -target argument to first apply only the resources that the count depends on.