Provides an Gamelift Build resource.
resource "aws_gamelift_build" "test" {
name = "example-build"
operating_system = "WINDOWS_2012"
storage_location {
bucket = "${aws_s3_bucket.test.bucket}"
key = "${aws_s3_bucket_object.test.key}"
role_arn = "${aws_iam_role.test.arn}"
}
depends_on = ["aws_iam_role_policy.test"]
}
The following arguments are supported:
name - (Required) Name of the build operating_system - (Required) Operating system that the game server binaries are built to run on. e.g. WINDOWS_2012 or AMAZON_LINUX. storage_location - (Required) Information indicating where your game build files are stored. See below. version - (Optional) Version that is associated with this build. storage_location bucket - (Required) Name of your S3 bucket. key - (Required) Name of the zip file containing your build files. role_arn - (Required) ARN of the access role that allows Amazon GameLift to access your S3 bucket. In addition to all arguments above, the following attributes are exported:
id - Build ID. Gamelift Builds cannot be imported at this time.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/aws/r/gamelift_build.html