fleet/infrastructure/sandbox
2022-07-26 16:30:44 -05:00
..
JITProvisioner Add cors to sandbox jitprovisioner (#6900) 2022-07-26 16:30:44 -05:00
Monitoring Fleet Sandbox (#5079) 2022-07-19 13:56:53 -05:00
PreProvisioner Update sandbox env var and capitilization (#6896) 2022-07-26 13:58:00 -07:00
SharedInfrastructure Fleet Sandbox (#5079) 2022-07-19 13:56:53 -05:00
.gitignore Fleet Sandbox (#5079) 2022-07-19 13:56:53 -05:00
backend-prod.conf Fleet Sandbox (#5079) 2022-07-19 13:56:53 -05:00
main.tf Fleet Sandbox (#5079) 2022-07-19 13:56:53 -05:00
readme.md Fleet Sandbox (#5079) 2022-07-19 13:56:53 -05:00

Terraform for the Fleet Demo Environment

This folder holds the infrastructure code for Fleet's demo environment. See https://github.com/fleetdm/fleet-infra/pull/3 for design documentation.

The interface into this code is designed to be minimal. If you require changes beyond whats described here, contact @zwinnerman-fleetdm.

Deploying your code to the loadtesting environment

  1. Initialize your terraform environment with terraform init
  2. Check out the appropiate workspace for your code, for instance terraform workspace select production
  3. Apply terraform with your branch name with terraform apply -var tag=BRANCH_NAME -var-file production.tfvars

Bugs

  1. module.shared-infrastructure.kubernetes_manifest.targetgroupbinding is bugged sometimes, if it gives issues just comment it out
  2. on a fresh apply, module.shared-infrastructure.aws_acm_certificate.main will have to be targeted first, then a normal apply can follow
  3. If errors happen, see if applying again will fix it