Skip to content

Commit

Permalink
ch: wrap regex in forward slash
Browse files Browse the repository at this point in the history
  • Loading branch information
acedeywin committed Dec 18, 2023
1 parent bf09785 commit a496f9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twilio-iac/terraform-modules/lex/v1/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ resource "aws_lex_slot_type" "this" {
# and Terraform enforces these requirements when you create resources.
# So a work-around for the e2e account was to replace the "[0-9]" with the no space ""

name = replace("${local.name_prefix}_${each.key}", "[0-9]", "")
name = replace("${local.name_prefix}_${each.key}", "/[0-9]/", "")
description = each.value.description
value_selection_strategy = each.value.value_selection_strategy

Expand Down

0 comments on commit a496f9f

Please sign in to comment.