Skip to content

Commit

Permalink
implement multithread
Browse files Browse the repository at this point in the history
  • Loading branch information
anmolnagpal committed Jul 13, 2020
1 parent 11d6c2f commit 32ad221
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ resource "null_resource" "site-monitor" {
}
}

resource "null_resource" "lambda" {
provisioner "local-exec" {
command = format("cd %s/slack && bash build.sh", path.module)
}
}

#Module : Cloudtrail Logs
#Description : This terraform module is designed to create site-monitoring.
module "site-monitor-rule" {
Expand Down Expand Up @@ -78,12 +84,6 @@ module "site-monitor" {
security_group_ids = var.security_group_ids
}

resource "null_resource" "lambda" {
provisioner "local-exec" {
command = format("cd %s/slack && bash build.sh", path.module)
}
}

module "lambda" {
source = "git::https://github.com/clouddrove/terraform-aws-lambda.git?ref=tags/0.12.5"

Expand Down

0 comments on commit 32ad221

Please sign in to comment.