Skip to content

Commit

Permalink
chore: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Luskey committed Jan 18, 2024
1 parent 5ffff8d commit 8fecde1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ data "aws_region" "default" {
}

locals {
enabled = module.this.enabled
webhook_enabled = local.enabled && var.webhook_enabled ? true : false
webhook_count = local.webhook_enabled ? 1 : 0
webhook_secret = join("", random_password.webhook_secret[*].result)
webhook_url = join("", aws_codepipeline_webhook.default[*].url)
enabled = module.this.enabled
webhook_enabled = local.enabled && var.webhook_enabled ? true : false
webhook_count = local.webhook_enabled ? 1 : 0
webhook_secret = join("", random_password.webhook_secret[*].result)
webhook_url = join("", aws_codepipeline_webhook.default[*].url)
full_repository_id = format("%s/%s", var.repo_owner, var.repo_name)
}

Expand Down Expand Up @@ -270,9 +270,9 @@ resource "aws_codepipeline" "default" {
output_artifacts = ["source_output"]

configuration = {
ConnectionArn = var.codestar_connection_arn
ConnectionArn = var.codestar_connection_arn
FullRepositoryId = local.full_repository_id
BranchName = var.branch
BranchName = var.branch
}
}
}
Expand Down

0 comments on commit 8fecde1

Please sign in to comment.