Skip to content

Commit

Permalink
Output the ARN of the SQS queue
Browse files Browse the repository at this point in the history
  • Loading branch information
jdno committed Jan 16, 2024
1 parent 30afce5 commit 09d6ae9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
10 changes: 0 additions & 10 deletions terragrunt/modules/crates-io-logs/_terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,3 @@ terraform {
}
}
}

variable "bucket_account" {
type = number
description = "Account ID of the S3 bucket which will send events to the SQS queue"
}

variable "bucket_arn" {
type = string
description = "ARN of the S3 bucket which will send events to the SQS queue"
}
4 changes: 4 additions & 0 deletions terragrunt/modules/crates-io-logs/outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# ARN of the SQS queue that receives S3 bucket notifications
output "sqs_queue_arn" {
value = aws_sqs_queue.cdn_log_event_queue.arn
}
9 changes: 9 additions & 0 deletions terragrunt/modules/crates-io-logs/variables.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
variable "bucket_account" {
type = number
description = "Account ID of the S3 bucket which will send events to the SQS queue"
}

variable "bucket_arn" {
type = string
description = "ARN of the S3 bucket which will send events to the SQS queue"
}

0 comments on commit 09d6ae9

Please sign in to comment.