Skip to content

Commit

Permalink
feat: add lacework metrics data source
Browse files Browse the repository at this point in the history
Signed-off-by: Darren Murray <darren.murray@lacework.net>
  • Loading branch information
dmurray-lacework committed Jan 12, 2024
1 parent bd44cbb commit 8b08ee1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,8 @@ resource "aws_ssm_document" "setup_lacework_agent" {

tags = var.aws_resources_tags
}

data "lacework_metrics" "lwmetrics" {
name = basename(abspath(path.module))
version = file("${abspath(path.module)}}/VERSION")
}
4 changes: 4 additions & 0 deletions versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@ terraform {

required_providers {
aws = ">= 3.0"
lacework = {
source = "lacework/lacework"
version = ">= 1.18"
}
}
}

0 comments on commit 8b08ee1

Please sign in to comment.