Skip to main content

EnvironmentDefault

An environment default that automatically provides a resource to instances.

When an instance in the environment requires a resource type that matches this default, the resource is automatically connected without manual configuration. Only one default per resource type is allowed per environment -- remove the existing default before setting a new one.

type EnvironmentDefault {
id: ID!
resource: EnvironmentDefaultResource!
environment: Environment!
createdAt: DateTime!
updatedAt: DateTime!
}

Fields

EnvironmentDefault.id ● ID! non-null scalar {#id}

Unique identifier for this environment default.

EnvironmentDefault.resource ● EnvironmentDefaultResource! non-null object {#resource}

The resource that is set as the default for its type.

EnvironmentDefault.environment ● Environment! non-null object {#environment}

The environment in which this resource is the default for its type.

EnvironmentDefault.createdAt ● DateTime! non-null scalar {#created-at}

When this default was first set (UTC).

EnvironmentDefault.updatedAt ● DateTime! non-null scalar {#updated-at}

When this default was last modified (UTC).

Member Of

EnvironmentDefaultEvent object ● EnvironmentDefaultPayload object ● EnvironmentDefaultsPage object

Implemented By

InstanceDependencySource union