Skip to content

runiac/runiac-starter-terraform-gcp-hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Runiac

Runiac's terraform-gcp-hello-world starter

Requirements

Step 1: Generate a new Runiac project

If you haven't already, generate a new Runiac project using the starter:

runiac new my-runiac-terraform-project --url github.com/runiac/runiac-starter-terraform-gcp-hello-world

Step 2: Run a deploy

Run a local deployment in the newly created my-runiac-terraform-project folder:

runiac deploy -a <gcp-project-id> --local

Open step1/default/main.tf and start adding resources. Once ready to test run the same runiac deploy command.

Step 3: Run a destroy (Clean up)

Finally, You can clean up any resources that were created by runiac with the --self-destroy flag:

runiac deploy -a <gcp-project-id> --local --self-destroy

That's it!

Congratulations! You've successfully run, modified and destroyed your Runiac project.