A Terraform module to create a Spot Elastigroup in AWS.
- Usage
- Examples
- Resources
- Requirements
- Providers
- Outputs
- Documentation
- Getting Help
- Community
- Contributing
- License
module "elastigroup-aws" {
source = "spotinst/elastigroup-aws/spotinst"
# Configuration.
name = "terraform_test"
subnet_ids = ["subnet-123456789", "subnet-123456789", "subnet-123456789"]
region = "us-west-2"
security_groups = ["sg-123456789", "sg-123456789"]
instance_types_ondemand = "t3.large"
instance_types_spot = ["t3.large"]
max_size = 1
image_id = "ami-123456789"
}
This module creates and manages the following resources:
- spotinst_elastigroup_aws
Name | Version |
---|---|
terraform | >= 1.4.6 |
Name | Version |
---|---|
spotinst | >= 1.188.0 |
Name | Type |
---|---|
spotinst_elastigroup_aws.this | resource |
Name | Description |
---|---|
elastigroup_id | The ID of the Elastigroup |
If you're new to Spot and want to get started, please checkout our Getting Started guide, available on the Spot Documentation website.
We use GitHub issues for tracking bugs and feature requests. Please use these community resources for getting help:
- Ask a question on Stack Overflow and tag it with terraform-spotinst.
- Join our Spot community on Slack.
- Open an issue.
Please see the contribution guidelines.
Code is licensed under the Apache License 2.0.