Skip to content

Commit

Permalink
removing version resource
Browse files Browse the repository at this point in the history
  • Loading branch information
janorivera committed Feb 5, 2025
1 parent 468e709 commit 87c0471
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions twilio-iac/terraform-modules/lex/v2/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ resource "aws_lexv2models_bot" "this" {
}
}


/*
resource "aws_lexv2models_bot_version" "this" {
for_each = var.lex_v2_bots
bot_id = aws_lexv2models_bot.this["${each.key}"].id
Expand All @@ -50,15 +50,15 @@ resource "aws_lexv2models_bot_version" "this" {
source_bot_version = "DRAFT"
}
}
}
}*/

resource "aws_lexv2models_bot_locale" "this" {
for_each = var.lex_v2_bots
bot_id = aws_lexv2models_bot.this["${each.key}"].id
bot_version = "DRAFT"
locale_id = each.value.locale
n_lu_intent_confidence_threshold = 0.70
depends_on = [aws_lexv2models_bot.this, aws_lexv2models_bot_version.this]
depends_on = [aws_lexv2models_bot.this/*, aws_lexv2models_bot_version.this*/]
}

resource "aws_lexv2models_slot_type" "this" {
Expand Down

0 comments on commit 87c0471

Please sign in to comment.