On this page
aws_gamelift_alias
Provides a Gamelift Alias resource.
Example Usage
resource "aws_gamelift_alias" "example" {
name = "example-alias"
description = "Example Description"
routing_strategy {
message = "Example Message"
type = "TERMINAL"
}
}
Argument Reference
The following arguments are supported:
name- (Required) Name of the alias.description- (Optional) Description of the alias.routing_strategy- (Required) Specifies the fleet and/or routing type to use for the alias.
Nested Fields
routing_strategy
fleet_id- (Optional) ID of the Gamelift Fleet to point the alias to.message- (Optional) Message text to be used with theTERMINALrouting strategy.type- (Required) Type of routing strategy. e.g.SIMPLEorTERMINAL
Attributes Reference
In addition to all arguments above, the following attributes are exported:
Import
Gamelift Aliases can be imported using the ID, e.g.
$ terraform import aws_gamelift_alias.example <alias-id>
© 2018 HashiCorp
Licensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/aws/r/gamelift_alias.html