Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 1.84 KB

README.md

File metadata and controls

58 lines (42 loc) · 1.84 KB

Note: This is an early (alpha) release and the deployment is not fully polished yet. You are welcome to test it out and if you have any questions on how to use the tools please reach out to the official mailing lists.

Note: This setup will add billing costs to your project.

Installing Terraform

Please follow these instructions to install Terraform binary on your machine.

Setting up a Google Cloud Project

  1. Create a new project in GCP console (link). Let's assume it's called "gcp-forensics-deployment-test".
  2. Enable billing for the project (link).

Instrumenting Terraform with credentials

  1. In Cloud Platform Console, navigate to the Create service account key page.
  2. From the Service account dropdown, select Compute Engine default service account, and leave JSON selected as the key type.
  3. Click Create, which downloads your credentials as a file named [PROJECT_ID]-[UNIQUE_ID].json.
  4. In the same shell where you're going to run Terraform (see below), run the following:
export GCLOUD_KEYFILE_JSON=/absolute/path/to/downloaded-file.json

Running Terraform

cd to the folder with Terraform configuration files (and where this README file is).

If it's the first time you run Terraform with this set of configuration files, run:

terraform init

Then run (gcp-forensics-deployment-test is the name of a project that you've previously set up):

terraform apply -var 'gcp_project=gcp-forensics-deployment-test'

Run the following to get information about the newly deployed infrastructure:

terraform output