Skip to content

Commit

Permalink
removed opensearch (#1289)
Browse files Browse the repository at this point in the history
  • Loading branch information
gecBurton authored Jan 15, 2025
1 parent 006db09 commit 8473b0b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 25 deletions.
4 changes: 0 additions & 4 deletions infrastructure/aws/architecture_diagram.svg

This file was deleted.

1 change: 0 additions & 1 deletion infrastructure/aws/data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ locals {
django_app_secrets = {
"ELASTIC__API_KEY" : var.elastic_api_key,
"ELASTIC__CLOUD_ID" : var.cloud_id,
# "ELASTIC__COLLECTION_ENDPOINT": module.opensearch.collection_endpoint,

"AZURE_OPENAI_API_KEY": var.azure_openai_api_key,
"AZURE_OPENAI_ENDPOINT" : var.azure_openai_endpoint,
Expand Down
7 changes: 0 additions & 7 deletions infrastructure/aws/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,6 @@ data "aws_iam_policy_document" "ecs_exec_role_policy" {
"${aws_secretsmanager_secret.django-app-secret.arn}:*"
]
}

statement {
sid = "AllowOpenSearch"
effect = "Allow"
actions = ["es:ESHttp*"]
resources = ["*"]
}
}

resource "aws_iam_policy" "redbox_policy" {
Expand Down
13 changes: 0 additions & 13 deletions infrastructure/aws/opensearch.tf

This file was deleted.

0 comments on commit 8473b0b

Please sign in to comment.