Remove redundant dependencies

Co-authored-by: Ezequiel Bellver <ebellver@itba.edu.ar>
This commit is contained in:
Santiago Lo Coco 2022-12-13 11:35:26 -03:00
parent 51062b4255
commit 020fab482e
6 changed files with 0 additions and 27 deletions

View File

@ -5,11 +5,6 @@ module "apigw" {
aws = aws.aws aws = aws.aws
} }
depends_on = [
module.lambda,
module.sqs
]
name = "AWSAPIGateway-g3" name = "AWSAPIGateway-g3"
lambda = { lambda = {

View File

@ -6,12 +6,6 @@ module "cloudfront" {
aws = aws.aws aws = aws.aws
} }
depends_on = [
module.s3,
module.apigw,
module.acm
]
enabled = true enabled = true
web_acl_id = try(each.value.web_acl_id, null) web_acl_id = try(each.value.web_acl_id, null)
aliases = each.value.aliases aliases = each.value.aliases

View File

@ -1,10 +1,6 @@
module "cognito" { module "cognito" {
source = "../modules/cognito" source = "../modules/cognito"
depends_on = [
module.lambda
]
providers = { providers = {
aws = aws.aws aws = aws.aws
} }

View File

@ -6,10 +6,6 @@ module "lambda" {
aws = aws.aws aws = aws.aws
} }
depends_on = [
module.vpc
]
function_name = each.value.function_name function_name = each.value.function_name
handler = each.value.handler handler = each.value.handler
runtime = each.value.runtime runtime = each.value.runtime

View File

@ -5,10 +5,6 @@ module "route53" {
aws = aws.aws aws = aws.aws
} }
depends_on = [
module.cloudfront
]
zone_name = local.domain zone_name = local.domain
records = { records = {

View File

@ -5,10 +5,6 @@ module "sqs" {
aws = aws.aws aws = aws.aws
} }
depends_on = [
module.lambda
]
name = "AWS-SQS-g3" name = "AWS-SQS-g3"
lambda_name = module.lambda["lambdaSQS"].function_name lambda_name = module.lambda["lambdaSQS"].function_name