Resource: aws_gamelift_build

Provides an GameLift Build resource.

Example Usage

resource "aws_gamelift_build" "test" {
  name             = "example-build"
  operating_system = "WINDOWS_2012"

  storage_location {
    bucket   = aws_s3_bucket.test.id
    key      = aws_s3_object.test.key
    role_arn = aws_iam_role.test.arn
  }
}

Argument Reference

This resource supports the following arguments:

Nested Fields

storage_location

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import GameLift Builds using the ID. For example:

import {
  to = aws_gamelift_build.example
  id = "<build-id>"
}

Using terraform import, import GameLift Builds using the ID. For example:

% terraform import aws_gamelift_build.example <build-id>