terraform in croc cloud

reference test suite with supported resources

· Documentation ·


Supported resources

ec2 resources

vpc resources

S3 resources

How to run test cases

  • Install terraform (0.10.* and 0.11.* versions are supported)

  • Create terraform.tfvars file:

  $ cp terraform.tfvars.example terraform.tfvars
  • Update terraform.tfvars file with desirable values

  • Run make init to init aws provider

  • Run make show-cases to list all available cases

  • Run terraform plan, apply and destroy command for specified case:

  $ make plan-<case_name>
  $ make apply-<case_name>
  $ make destroy-<case_name>
  • Or run all cases with make all

  • Use make clean to remove terraform.tfstate* and crash.log files

  • Use make clean-all to remove aws provider