Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 895 Bytes

File metadata and controls

30 lines (25 loc) · 895 Bytes

How to create resources

  • Copy ./terraform.tfvars.example to ./terraform.tfvars
  • Edit ./terraform.tfvars
    • Update the required variables:
      • prefix to give the resources an identifiable name (eg, your initials or first name)
      • project_id to specify in which Project the resources will be created
      • region to suit your region
      • neuvector_password to change the default admin password
  • Make sure you are logged into your Google Account from your local Terminal. See the preparatory steps here.

Terraform

terraform init -upgrade && terraform apply -auto-approve
  • Destroy the resources when finished
terraform destroy -auto-approve

OpenTofu

tofu init -upgrade && tofu apply -auto-approve
  • Destroy the resources when finished
tofu destroy -auto-approve