Runtime

The sym_runtime resource allows you describe an execution context for the Sym runtime. For more details, see Deploy the Platform.

resource "sym_integration" "runtime_context" {
  type = "permission_context"
  name = "runtime-production"

  settings = {
    cloud      = "aws"
    region     = "us-east-1"
    role_arn   = "arn:aws:iam::123456789012:role/sym/SymExecutionRole"
  }
}
  
resource "sym_runtime" "this" {
  name       = var.environment
  context_id = sym_integration.runtime_context.id
}

Name

Description

Required

name

A slug uniquely identifying your Runtime within your organization.

✔️

context_id

An Integration of type permission_context. The settings of this Integration are described below.

✔️

Runtime Context

The Runtime Context is a special sym_integration with the following settings.

Name

Description

cloud

One of aws or sym.

region

Only required if your cloud is aws. The AWS region you have deployed Sym to.

role_arn

Only required if your cloud is aws. The ARN of the IAM Role that was created by the Connector.

external_id

Only required if your cloud is aws. This ID is generated by the Runtime Connector module and ensures safe third-party access to your infrastructure.


Did this page help you?