Skip to content

Commit

Permalink
Accept Email metadata - iac
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoabreu-levio committed Jun 26, 2024
1 parent 988bfca commit 0cd35c6
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ module "lambda_function_container_image" {
attach_policy_statements = true

environment_variables = {
QUEUE_URL = var.queue_url
QUEUE_URL = var.queue_url
BUCKET_NAME = var.bucket_name
}

policy_statements = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ variable "ses_bucket_arn" {
nullable = false
}

variable "bucket_name" {
type = string
nullable = false
}

variable "queue_url" {
type = string
nullable = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,37 +15,37 @@
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-lambda-java-core</artifactId>
<version>1.2.1</version>
<version>1.2.3</version>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-lambda-java-events</artifactId>
<version>3.11.0</version>
<version>3.11.6</version>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>s3</artifactId>
<version>2.20.52</version>
<version>2.26.9</version>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>sqs</artifactId>
<version>2.20.52</version>
<version>2.26.9</version>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>apache-client</artifactId>
<version>2.20.52</version>
<version>2.26.9</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.15.3</version>
<version>2.17.0</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-joda</artifactId>
<version>2.15.3</version>
<version>2.17.1</version>
</dependency>
<dependency>
<groupId>junit</groupId>
Expand Down
1 change: 1 addition & 0 deletions terraform/modules.tf
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ module "resume_request_preprocessor" {
lambda_function_name = local.resume_request_preprocessor_lambda_name
lambda_repository_name = var.resume_request_preprocessor_lambda_repository_name
ses_bucket_arn = module.s3_bucket.s3_bucket_arn
bucket_name = local.bucket_name
request_queue_arn = module.resume_request_processor.queue_arn
queue_url = module.resume_request_processor.queue_url
}
Expand Down

0 comments on commit 0cd35c6

Please sign in to comment.