From 4e3c1b780337c6e2127bd064ab7d9da5f97768f1 Mon Sep 17 00:00:00 2001 From: Joel Balcaen Date: Tue, 30 Apr 2024 11:28:23 -0300 Subject: [PATCH] rename state machine --- .../{email_form_fill => rfp_email_form_fill}/output.tf | 0 .../state_machine.json | 4 ---- .../{email_form_fill => rfp_email_form_fill}/state_machine.tf | 0 .../{email_form_fill => rfp_email_form_fill}/variables.tf | 0 terraform/modules.tf | 4 ++-- 5 files changed, 2 insertions(+), 6 deletions(-) rename state_machines/{email_form_fill => rfp_email_form_fill}/output.tf (100%) rename state_machines/{email_form_fill => rfp_email_form_fill}/state_machine.json (98%) rename state_machines/{email_form_fill => rfp_email_form_fill}/state_machine.tf (100%) rename state_machines/{email_form_fill => rfp_email_form_fill}/variables.tf (100%) diff --git a/state_machines/email_form_fill/output.tf b/state_machines/rfp_email_form_fill/output.tf similarity index 100% rename from state_machines/email_form_fill/output.tf rename to state_machines/rfp_email_form_fill/output.tf diff --git a/state_machines/email_form_fill/state_machine.json b/state_machines/rfp_email_form_fill/state_machine.json similarity index 98% rename from state_machines/email_form_fill/state_machine.json rename to state_machines/rfp_email_form_fill/state_machine.json index 4a791c7..30d400d 100644 --- a/state_machines/email_form_fill/state_machine.json +++ b/state_machines/rfp_email_form_fill/state_machine.json @@ -94,10 +94,6 @@ "Parameters": { "FunctionName": "arn:aws:lambda:us-east-1:446872271111:function:levio-esta-bedrock-invoker:$LATEST", "Payload": { - "bedrock_params": { - "master": "Bla", - "model_name": "anthropic.claude-3-sonnet-20240229-v1:0" - }, "system_prompt.$": "$.system_prompt", "prompt.$": "$.prompt.prompt", "s3_arn.$": "$.s3_arn" diff --git a/state_machines/email_form_fill/state_machine.tf b/state_machines/rfp_email_form_fill/state_machine.tf similarity index 100% rename from state_machines/email_form_fill/state_machine.tf rename to state_machines/rfp_email_form_fill/state_machine.tf diff --git a/state_machines/email_form_fill/variables.tf b/state_machines/rfp_email_form_fill/variables.tf similarity index 100% rename from state_machines/email_form_fill/variables.tf rename to state_machines/rfp_email_form_fill/variables.tf diff --git a/terraform/modules.tf b/terraform/modules.tf index f7cf234..ef059e0 100644 --- a/terraform/modules.tf +++ b/terraform/modules.tf @@ -253,8 +253,8 @@ module "step_function_invoker" { state_machine_arn = module.email_formfiller_state_machine.state_machine_arn } -module "email_formfiller_state_machine" { - source = "../state_machines/email_form_fill" +module "rfp_email_formfiller_state_machine" { + source = "../state_machines/rfp_email_form_fill" attachment_saver_lambda_name = module.email_attachment_saver.lambda_function_name workspace_bucket_name = module.s3_bucket.s3_bucket_id }