The triton_service_group
resource represents a Triton Service Group.
NOTE: Triton Service Groups are in Preview and only supported in specific regions at this time. They will become Generally Available in the near future.
resource "triton_service_group" "web" { group_name = "web_group" template = "${triton_instance_template.base.id}" capacity = 3 }
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.
The following attributes are exported:
id
- (string) - The identifier representing the Triton Service Group.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/triton/r/triton_service_group.html