Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.03 KB

README.md

File metadata and controls

43 lines (35 loc) · 1.03 KB

Fastly's Next-Gen WAF Terraform Configuration generation tool

This tool imports your NGWAF settings to the Terraform state and generates the Terraform configuration for your NGWAF config in HCL.

TODO

Fix bug! Need to account for the case where the Terraform state is stored remotely. Run a command like the following to generate the state file. terraform state pull > terraform.tfstate

Feature list and status

  • Corp Rules
  • Corp Lists
  • Corp Signals
  • Site Request Rules
  • Site Rate Limiting Rules
  • Site Templated Rules
  • Site Lists
  • Site Signals
  • Site Alerts
  • Site Agent Alerts
  • Site Integrations
  • Header Link
  • Edge integration
  • Space lasers
  • Coffee maker

Set up

Environment variables must exist

TF_VAR_NGWAF_CORP
TF_VAR_NGWAF_EMAIL
TF_VAR_NGWAF_TOKEN
SIGSCI_CORP
SIGSCI_EMAIL
SIGSCI_TOKEN

Just run make run

Need to start over?

make rerun