Skip to content

theobori/terraform-provider-neuvector

Repository files navigation

Terraform provider for NeuVector

build tests

📖 Build and run

You only need the following requirements:

To 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.

OS_ARCH="linux_adm64" \
make install

🤝 Contribute

If you want to help the project, you can follow the guidelines in 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:

NEUVECTOR_BASE_URL="url" \
NEUVECTOR_USERNAME="username" \
NEUVECTOR_PASSWORD="password" \
make testacc

🎉 Tasks

  • Acceptance tests
  • Documentation
  • Registry update
  • Admission rule update
  • Supports terraform import
  • resource service