Please use the official Spotinst modules from the Terraform registry.
This repo contains reusable terraform modules developed in-house at Spotinst.
If you are new to Terraform Modules, check out Hashicorp's quick overview.
- 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"
}
- Ensure that the ref above corresponds to an existing release tag in this repository.
- Run terraform get to acquire the module.
- Run terraform init
- Run terraform plan to preview changes.
If there's a feature, new module, or change you'd like to see - let us know!