Skip to content

rsilva-rs/terraform-spotinst-ocean-aws-ecs

 
 

Repository files navigation

Spot Ocean ECS Terraform Module

Prerequisites

  • Have an ECS cluster
  • Spot Account and API Token defined in the Spotinst Terraform Provider

Usage

module "ocean_ecs" {
  source = "spotinst/ocean-aws-ecs/spotinst"

  cluster_name                    = "ECS-Workshop"
  region                          = "us-west-2"
  subnet_ids                      = ["subnet-123456789,subnet-123456789"]
  security_group_ids              = ["sg-123456789"]
  image_id                        = "ami-123456789"
  iam_instance_profile            = "arn:aws:iam::123456789:instance-profile/ecsInstanceRole"

  tags = {CreatedBy = "terraform"}
}

Providers

Name Version
spotinst >= 1.78.0

Modules

  • ecs-ocean - Creates Ocean Cluster
  • ecs-ocean-launchspec - (Optional) Add custom virtual node groups Doc

Documentation

If you're new to Spot and want to get started, please checkout our Getting Started guide, available on the Spot Documentation website.

Getting Help

We use GitHub issues for tracking bugs and feature requests. Please use these community resources for getting help:

Community

Contributing

Please see the contribution guidelines.

License

Code is licensed under the Apache License 2.0.

About

Terraform module for Spotinst provider resource spotinst_ocean_ecs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HCL 99.0%
  • Makefile 1.0%