Skip to content

Relationships

Schema relationships
graph LR
    ContainerServices -->|"account"| Accounts
    ContainerServices -->|"cluster"| ContainerClusters
    ContainerServices -->|"task_definition"| ContainerTaskDefinitions
    ContainerServices -->|"attached_rule_sets"| FirewallRuleSets

Properties

idstring
required·

Truto's stable unified identifier for this object. Opaque; use provider_id to address the object in the provider's own console or API.

accountstring

The account, subscription or project this object belongs to.

References: Accounts → id
assign_public_ipboolean

Whether tasks get a public IP address on their network interface. Null when the service does not use per-task networking (awsvpc), where the host's network decides.

attached_rule_setsobject[]

The firewall rule sets (security groups) attached to the tasks' network interfaces (awsvpc networking).

idstring

The target's id.

capacity_providersstring[]

Capacity pools in the service's capacity provider strategy, verbatim (on AWS ECS: FARGATE, FARGATE_SPOT or customer-named providers). Empty when the service uses a launch type.

clusterobject

The container cluster this object runs in.

idstring

The target's id.

collected_atstring · date-time

When Truto actually read this object from the provider, in UTC ISO 8601 with the offset present — not the request time, and not a provider timestamp.

compute_typestring

Where the tasks run, normalised. serverless: the provider runs the machines (AWS Fargate, Azure Container Apps consumption, GCP Cloud Run). customer_managed_servers: servers in the customer's account that the customer runs (on AWS ECS: EC2 container instances). provider_managed_servers: servers in the customer's account that the provider patches and scales (on AWS: ECS Managed Instances). external_servers: the customer's own servers outside the cloud (on AWS: ECS Anywhere). unknown: the service uses capacity providers whose kind is not read here (only FARGATE and FARGATE_SPOT are known to be serverless), or no launch type and no strategy (the cluster default applies) - see unreadable_fields.

Possible values:
serverlesscustomer_managed_serversprovider_managed_serversexternal_serversunknown
created_atstring · date-time

When the object was created at the provider, in UTC ISO 8601. Null when the provider does not record one - see unreadable_fields.

desired_sizeinteger

Number of tasks the service is meant to keep running.

exec_enabledboolean

Whether interactive exec into the running containers is turned on (on AWS: ECS Exec, enableExecuteCommand).

load_balancer_target_idsstring[]

Load balancer target groups (ARNs) the service registers its tasks with.

namestring

The service name, verbatim.

native_typestring

The provider's own type string, unmodified — for example 'AWS::S3::Bucket', 'aws_iam_role', 'Microsoft.Sql/servers'. Used for display and drill-down.

pending_countinteger

Number of tasks in the pending state.

platform_versionstring

The serverless platform version, verbatim (AWS Fargate only).

providerstring

Which cloud this object was read from.

Possible values:
awsazuregcp
provider_idstring

The provider's own identifier, passed through verbatim — a full ARN, resource id, or self-link. Never truncated, prefixed, or normalized.

provider_launch_typestring

The provider's own launch type, verbatim (on AWS ECS: EC2, FARGATE, EXTERNAL or MANAGED_INSTANCES). Null when the service uses a capacity provider strategy instead - see capacity_providers.

provider_statusstring

The provider's own state string, verbatim (on AWS ECS: ACTIVE, DRAINING or INACTIVE).

regionstring

Where the object is located. 'global' denotes genuinely global resources (e.g. IAM, GCP VPC networks) rather than a guessed region. A substituted region (when none is derivable) is flagged in unreadable_fields.

remote_dataRecord<string, any>

Raw data returned from the remote API call.

running_countinteger

Number of tasks in the running state.

statusstring

State, normalised. On AWS ECS: DRAINING (the service is being deleted) is deleting, INACTIVE is deleted. provider_status has the provider's value verbatim.

Possible values:
activedeletingdeletedunknown
subnet_idsstring[]

Subnets the tasks are placed in (per-task networking, awsvpc).

tagsobject

Key-value pairs exactly as the customer set them: no case folding, key/value normalization, or merging of separate provider concepts. An empty object means no tags; tags that could not be read appear in unreadable_fields instead.

task_definitionobject

The task definition revision the service runs. GET container_task_definitions with this id to read that exact revision.

idstring

The target's id.

unreadable_fieldsobject[]

Fields on this object that could not be read, and why. An empty array means everything was read. Use this to tell a real value from a missing one.

detailstring

Explanation of the reason, where one adds anything.

fieldstring

The property on this resource that could not be read.

reasonstring

Why the field could not be read. available_on_get: Not read on list to keep the list fast; call GET for this resource's id to get it.

Possible values:
not_supported_by_providernot_configuredpermission_deniednot_collectedcollection_errorpartially_collectedavailable_on_get
updated_atstring · date-time

When the object was last modified at the provider, in UTC ISO 8601. Null when the provider does not record one - see unreadable_fields.