Skip to content

Sample code for the blog post series " How To Use Terraform with CloudSigma."

License

Notifications You must be signed in to change notification settings

cloudsigma/getting-started-with-terraform

Repository files navigation

Getting Started with Terraform

This repo contains the sample code for the blog post series How To Use Terraform with CloudSigma. The examples correspond to the following parts of the series:

Note: The examples deploy resources into your CloudSigma account. It is not our responsibility if you are charged money for this.

  1. Getting started with Terraform
    • single-web-server: Deploy a single CloudSigma server with NGINX server that will return "Welcome to nginx!" page for every request on port 80.
    • multiple-providers: Deploy a single CloudSigma server and an AWS instance
  2. How to perform bulk operations

Quick start

  1. Install Terraform.
  2. cd into one of the example folders.
  3. Set your CloudSigma credentials in terraform.tfvars file.
  4. Run terraform init.
  5. Run terraform apply.
  6. After it's done deploying, the example will output an IP you can try out.
  7. To clean up and delete all resources after you're done, run terraform destroy.

License

Please see LICENSE for details on how the code in this repo is licensed.

About

Sample code for the blog post series " How To Use Terraform with CloudSigma."

Topics

Resources

License

Stars

Watchers

Forks

Languages