No description
  • Go 95.7%
  • HTML 2%
  • Shell 1.2%
  • Makefile 1.1%
Find a file
OpenTofu Core Development Team 04b45b6272 Apply GitHub workflow changes
2025-11-18 12:27:02 +02:00
.github/workflows Apply GitHub workflow changes 2025-11-18 12:27:02 +02:00
examples feat: new lacework_integration_ecr resource 2020-09-10 19:01:05 +02:00
lacework prepare release v0.2.4 (#28) 2020-09-10 12:46:25 -06:00
scripts initial commit setting up provider 2020-02-28 18:07:07 -08:00
vendor chore(deps): update github.com/lacework/go-sdk 2020-09-09 23:56:28 +02:00
website docs(website): update all integration names 2020-09-10 20:27:21 +02:00
.gitignore initial commit setting up provider 2020-02-28 18:07:07 -08:00
.go-version new(resource) GCP CFG integration 2020-03-19 15:57:47 -07:00
.travis.yml ci(travis): update .travis.yml 2020-07-08 09:44:50 -06:00
CHANGELOG.md Cleanup after v0.2.4 release 2020-09-11 16:14:38 +00:00
GNUmakefile chore(go): update lacework/go-sdk dependency 2020-04-23 17:41:19 -06:00
go.mod chore(deps): update github.com/lacework/go-sdk 2020-09-09 23:56:28 +02:00
go.sum chore(deps): update github.com/lacework/go-sdk 2020-09-09 23:56:28 +02:00
LICENSE initial commit 2020-02-20 08:45:35 -08:00
main.go feat(data_source): new lacework_api_token 2020-03-12 13:07:05 -06:00
README.md new(resource) GCP CFG integration 2020-03-19 15:57:47 -07:00
VERSION prepare release v0.2.4 (#28) 2020-09-10 12:46:25 -06:00

Terraform Provider

Requirements

  • Terraform 0.12.x
  • Go 1.14 (to build the provider plugin)

Building The Provider

Clone repository to: $GOPATH/src/github.com/terraform-providers/terraform-provider-lacework

$ mkdir -p $GOPATH/src/github.com/terraform-providers; cd $GOPATH/src/github.com/terraform-providers
$ git clone git@github.com:terraform-providers/terraform-provider-lacework

Enter the provider directory and build the provider

$ cd $GOPATH/src/github.com/terraform-providers/terraform-provider-lacework
$ make build

Note: For contributions created from forks, the repository should still be cloned under the $GOPATH/src/github.com/terraform-providers/terraform-provider-lacework directory to allow the provided make commands to properly run, build, and test this project.

Using the provider

If you're building the provider, follow the instructions to install it as a plugin. After placing it into your plugins directory, run terraform init to initialize it.

Further usage documentation is available on the Terraform website.

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (version 1.11+ is required). You'll also need to correctly setup a GOPATH, as well as adding $GOPATH/bin to your $PATH.

To compile the provider, run make build. This will build the provider and put the provider binary in the $GOPATH/bin directory.

$ make build
...
$ $GOPATH/bin/terraform-provider-lacework
...

In order to test the provider, you can simply run make test.

$ make test

In order to run the full suite of Acceptance tests, run make testacc.

Note: Acceptance tests create real resources, and often cost money to run.

$ make testacc