triton_service_group

The triton_service_group resource represents a Triton Service Group.

Example Usages

resource "triton_service_group" "web" {
  group_name = "web_group"
  template   = "${triton_instance_template.base.id}"
  capacity   = 3
}

Argument Reference

The following arguments are supported:

  • group_name - (string, Required) Friendly name for the service group.

  • template - (string, Required) Identifier of an instance template.

  • capacity - (int, Optional) Number of instances to launch and monitor.

Attribute Reference

The following attributes are exported:

  • id - (string) - The identifier representing the Triton Service Group.

© 2018 HashiCorp
Licensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/triton/r/triton_service_group.html