Skip to content

Commit

Permalink
Rollback removed outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
ltellesfl committed Nov 4, 2024
1 parent bc7e7f3 commit d8b7122
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
18 changes: 10 additions & 8 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -164,14 +164,16 @@ module "networking" {
}

module "sqs_sns" {
count = var.sqs_sns == true ? 1 : 0
source = "app.terraform.io/indico/indico-aws-sqs-sns/mod"
version = "2.0.0"
region = var.region
label = var.label
kms_master_key_id = module.kms_key.key.id
sqs_sns_type = var.sqs_sns_type
ipa_sns_topic_name = var.ipa_sns_topic_name
count = var.sqs_sns == true ? 1 : 0
source = "app.terraform.io/indico/indico-aws-sqs-sns/mod"
version = "2.0.0"
region = var.region
label = var.label
kms_master_key_id = module.kms_key.key.id
sqs_sns_type = var.sqs_sns_type
ipa_sns_topic_name = var.ipa_sns_topic_name
ipa_sqs_queue_name = var.ipa_sqs_queue_name
indico_sqs_sns_policy_name = var.indico_sqs_sns_policy_name
}

module "lambda-sns-forwarder" {
Expand Down
10 changes: 10 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -1058,3 +1058,13 @@ variable "ipa_sns_topic_name" {
description = "Full name of the SNS topic"
default = null
}

variable "ipa_sqs_queue_name" {
type = string
description = "Full name of the SQS queue"
}

variable "indico_sqs_sns_policy_name" {
type = string
description = "Full name of the SQS SNS policy"
}

0 comments on commit d8b7122

Please sign in to comment.