/terraform-spotinst-modules

Terraform modules for Spotinst resources

Primary LanguageHCLApache License 2.0Apache-2.0

Spotinst Terraform Modules

This repo contains reusable terraform modules developed in-house at Spotinst.

Using Modules

If you are new to Terraform Modules, check out Hashicorp's quick overview.

  1. To use a module from this repository, add a block like the following to your terraform code:
module "example" {
  source = "github.com/spotinst/terraform-spotinst-modules//example?ref=v1.0.6"

  param     = "foo"
  param_two = "bar"
}
  1. Ensure that the ref above corresponds to an existing release tag in this repository.
  2. Run terraform get to acquire the module.
  3. Run terraform init
  4. Run terraform plan to preview changes.

Feedback

If there's a feature, new module, or change you'd like to see - let us know!