From f6f2314659f4013a1744a0d86c704c28712a4c7d Mon Sep 17 00:00:00 2001 From: italo Date: Thu, 14 Nov 2024 23:30:15 -0300 Subject: [PATCH] ci: add manual trigger --- .github/workflows/terraform.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/terraform.yaml b/.github/workflows/terraform.yaml index b193ad8..e03c3d0 100644 --- a/.github/workflows/terraform.yaml +++ b/.github/workflows/terraform.yaml @@ -4,6 +4,7 @@ on: push: branches: [ "main" ] pull_request: + workflow_dispatch: env: TF_CLOUD_ORGANIZATION: "${{ vars.BMB_TF_ORGANIZATION }}" @@ -274,7 +275,6 @@ jobs: aws rds-data execute-statement --resource-arn $CLUSTER_ARN --secret-arn $SECRET_ARN --database $DATABASE_NAME --sql "$(cat sql/orders_table.sql)" aws rds-data execute-statement --resource-arn $CLUSTER_ARN --secret-arn $SECRET_ARN --database $DATABASE_NAME --sql "$(cat sql/products_table.sql)" aws rds-data execute-statement --resource-arn $CLUSTER_ARN --secret-arn $SECRET_ARN --database $DATABASE_NAME --sql "$(cat sql/order_items_table.sql)" - aws rds-data execute-statement --resource-arn $CLUSTER_ARN --secret-arn $SECRET_ARN --database $DATABASE_NAME --sql "$(cat sql/payments_table.sql)" aws rds-data execute-statement --resource-arn $CLUSTER_ARN --secret-arn $SECRET_ARN --database $DATABASE_NAME --sql "$(cat sql/customers_table.sql)" env: AWS_DEFAULT_REGION: us-east-1