https://github.com/theobori/terraform-provider-neuvector
Terraform NeuVector provider
https://github.com/theobori/terraform-provider-neuvector
container go neuvector plugin provider security terraform
Last synced: 2 months ago
JSON representation
Terraform NeuVector provider
- Host: GitHub
- URL: https://github.com/theobori/terraform-provider-neuvector
- Owner: theobori
- License: mpl-2.0
- Created: 2023-05-19T20:59:12.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-25T23:02:55.000Z (over 1 year ago)
- Last Synced: 2025-01-10T23:47:21.091Z (4 months ago)
- Topics: container, go, neuvector, plugin, provider, security, terraform
- Language: Go
- Homepage: https://registry.terraform.io/providers/theobori/neuvector
- Size: 142 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Terraform provider for NeuVector

## ๐ Build and run
You only need the following requirements:
- [Terraform](https://www.terraform.io/downloads.html) 1.4.6+
- [Go](https://golang.org/doc/install) 1.19To build and install the terraform plugin, you should run the following command.
Override the `OS_ARCH` environment variable if needed (the default one is in `Makefile`.```bash
OS_ARCH="linux_adm64" \
make install
```## ๐ค Contribute
If you want to help the project, you can follow the guidelines in [CONTRIBUTING.md](./CONTRIBUTING.md).
## ๐งช Tests
There are some Terraform acceptance tests, it take the configuration from the files in `examples/`.
To run the tests, feel free to use the Docker allinone instance by running `make neuvector`, once it is done run `make testacc`.If you want to override the default variables:
```bash
NEUVECTOR_BASE_URL="url" \
NEUVECTOR_USERNAME="username" \
NEUVECTOR_PASSWORD="password" \
make testacc
```## ๐ Tasks
- [x] Acceptance tests
- [x] Documentation
- [x] Registry update
- [x] Admission rule update
- [x] Supports `terraform import`
- [x] resource service