-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add ability to change Lacework Server URL (#9)
* feat: added ability to change Lacework server URL * docs: fixed Terraform 'required_version' constraint * docs: improved example for `lacework_server_url` variable * refactor: made `secrets` and `environments` code comprehensible * refactor: JSON flatten environments (#10) * refactor: JSON flatten environments * refactor: made 'secrets' variable agnostic for potential future re-use * docs: updated 'server-url' example to realistic URL Co-authored-by: Alan Nix <alan.nix@lacework.net> Co-authored-by: Salim Afiune <afiune@lacework.net>
- Loading branch information
1 parent
28cbc1c
commit a901333
Showing
12 changed files
with
59 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
terraform { | ||
required_version = ">= 0.12.26" | ||
required_version = ">= 0.12.31" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
terraform { | ||
required_version = ">= 0.12.26" | ||
required_version = ">= 0.12.31" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
terraform { | ||
required_version = ">= 0.12.26" | ||
required_version = ">= 0.12.31" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
terraform { | ||
required_version = ">= 0.12.26" | ||
required_version = ">= 0.12.31" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Elastic Container Service (ECS) Deployment w/ SSM Parameter | ||
|
||
```hcl | ||
provider "aws" {} | ||
module "lacework_ecs_datacollector" { | ||
source = "lacework/ecs-agent/aws" | ||
version = "~> 0.1" | ||
ecs_cluster_arn = "arn:aws:ecs:us-east-1:123456789012:cluster/example-cluster" | ||
lacework_access_token = "0123456789ABCDEF0123456789ABCDEF" | ||
lacework_server_url = "https://api.fra.lacework.net" | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
provider "aws" {} | ||
|
||
module "lacework_ecs_datacollector" { | ||
source = "../../" | ||
|
||
ecs_cluster_arn = "arn:aws:ecs:us-east-1:123456789012:cluster/example-cluster" | ||
lacework_access_token = "0123456789ABCDEF0123456789ABCDEF" | ||
lacework_server_url = "https://api.fra.lacework.net" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
terraform { | ||
required_version = ">= 0.12.31" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
terraform { | ||
required_version = ">= 0.12.26" | ||
required_version = ">= 0.12.31" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
terraform { | ||
required_version = ">= 0.12.26" | ||
required_version = ">= 0.12.31" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters