Provides a Gamelift Alias resource.
resource "aws_gamelift_alias" "example" { name = "example-alias" description = "Example Description" routing_strategy { message = "Example Message" type = "TERMINAL" } }
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. routing_strategy
fleet_id
- (Optional) ID of the Gamelift Fleet to point the alias to. message
- (Optional) Message text to be used with the TERMINAL
routing strategy. type
- (Required) Type of routing strategy. e.g. SIMPLE
or TERMINAL
In addition to all arguments above, the following attributes are exported:
Gamelift Aliases can be imported using the ID, e.g.
$ terraform import aws_gamelift_alias.example <alias-id>
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/aws/r/gamelift_alias.html