Sha256: 87d8d199e0c8740bc2ff78b57d72f940d8ed5ffca178c664efd31729ce622d7b

Contents?: true

Size: 1.01 KB

Versions: 6

Compression:

Stored size: 1.01 KB

Contents

terraform {
  # Default backend is just local.

  # Uncomment to use s3
  # backend "s3" {
  #   bucket = "subspace-backend-<%= project_name %>"
  #   key    = "subspace.<%= @env %>.tfstate"
  #   region = "us-west-2"
  # }

  # Uncomment to use Terraform Cloud
  # cloud {
  #   organization = "<%= project_name %>"
  #
  #   workspaces {
  #     name = "<%= @env %>"
  #   }
  # }

}

module workhorse {
  source = "github.com/tenforwardconsulting/terraform-subspace-workhorse?ref=v1.0.0"
  project_name = "<%= project_name %>"
  project_environment = "<%= @env %>"
  aws_region = "us-west-2"
  subspace_public_key = file("../../subspace.pem.pub")
  # zone_id = "ZOJ6811VRVYBT" # 10fw.net
  # subdomain = "<%= project_name.gsub("_", "-") %>"

  # Ubuntu Server 22.04 LTS (HVM), SSD Volume Type
  instance_ami = "ami-0f81e6e71078b75b6"
  instance_user = "ubuntu"
  instance_type = "t3.medium"
  instance_hostname = "${var.project_environment}-app1"
  instance_volume_size = 20
}

output "workhorse" {
  value = module.workhorse
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
subspace-3.0.12 template/subspace/terraform/template/main-workhorse.tf.erb
subspace-3.0.11 template/subspace/terraform/template/main-workhorse.tf.erb
subspace-3.0.10 template/subspace/terraform/template/main-workhorse.tf.erb
subspace-3.0.9 template/subspace/terraform/template/main-workhorse.tf.erb
subspace-3.0.6 template/subspace/terraform/template/main-workhorse.tf.erb
subspace-3.0.5 template/subspace/terraform/template/main-workhorse.tf.erb