Terraform repo for testing and iterating on the cloud-saas buildout (specific to the cloud range assets). Using this to test and build out as we continue to flesh out the cloud hybrid saas range.
Plan is to eventually tie this in with Puppet modules that can write out the vars for each user defined build.
- a user defined VPC
- A user defined Subnet in the VPC
- Firewall rules for:
- Internal to Internal Traffic inside the VPC
- SSH from Range and a Local Zsscalar Address
- ICMP from Range and a Local Zsscalar Address
- RDP from Range and a Local Zsscalar Address
- One Compute Engine VM instance built from a Kali image family that was already uploaded (will need to eventually tie in packer for doing this in conjunction with Terraform I think)
- Cloud-init baseline configuration for SimSpace Cloud Images (WIP as this is pretty barebones right now, I only have it doing enough to get us logged into the VM without needing to worry about keys right now)
- aws/: Placeholder for future AWS terraform
- azure/: Placeholder for future Azure terraform
- gcp/: WIP Terraform for GCP
- shared/: Shared files such as cloud-init
Used the following (among other posts as well) to get started on the GCP pieces
- https://registry.terraform.io/providers/hashicorp/google/latest/docs
- https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_network
- https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_subnetwork
- https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_firewall
- https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_instance
- https://registry.terraform.io/providers/hashicorp/google/latest/docs/data-sources/compute_image
- https://registry.terraform.io/providers/hashicorp/google/latest/docs/data-sources/storage_bucket