Skip to content

joedwards32/sgs-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sgs-task

Simple Gaming Service Task

Requirements

The following requirements are needed by this module:

  • aws (~> 5.23)

Providers

The following providers are used by this module:

  • aws (~> 5.23)

Modules

No modules.

Resources

The following resources are used by this module:

Required Inputs

The following input variables are required:

Description: Container image

Type: string

Description: AWS Route53 DNS zone to create A record in

Type: string

Description: AWS region

Type: string

Description: Desired task name

Type: string

Description: Array of json port definitions

Type:

list(object({
    hostPort = number
    containerPort = number
    protocol = string
  }))

Description: Simple Gaming Service ECS cluster

Type:

object({
    arn                           = string
    id                            = string
    vpc_id                        = string
    subnet_id                     = string
    efs_id                        = string
    efs_clients_security_group_id = string
    execution_role_arn            = string
  })

Optional Inputs

The following input variables are optional (have default values):

Description: Fargate CPU units

Type: number

Default: 512

Description: Fargate ephemeral storage GiB

Type: number

Default: 21

Description: Array of environment variables

Type:

list(object({
    name = string
    value = string
  }))

Default: []

Description: Fargate Memory units

Type: number

Default: 1024

Description: Array of environment variables

Type:

list(object({
    containerPath = string
    sourceVolume = string
  }))

Default: []

Description: Whether task should be running or not

Type: bool

Default: true

Description: List of objects representing EFS file systems to create and paths to mount them

Type:

list(object({
    name = string
    mount_point = string
  }))

Default: []

Outputs

The following outputs are exported:

Description: n/a

Description: n/a

Description: n/a

Description: n/a