Skip to content

Customer-managed runners ​

Customer-managed runners let you run Pulumi Deployments, Discovery scans, and audit policy evaluations on runners you host in your own infrastructure. By default, this work runs on Pulumi-managed runners. You group your runners into one or more runner pools, then choose which pool each stack, cloud account, or policy group uses.

Common reasons to use customer-managed runners:

  • Private network access: Runners can live inside fully private VPCs and reach resources that aren't accessible from the public internet.
  • Credentials and data stay in your network: Cloud provider credentials, scan data, and policy evaluation results are processed on hardware you control.
  • Your own environment: Run on hardware of your choice and configure the runner image and environment you need. Linux and macOS are supported.
  • Mix and match: Keep using Pulumi-managed runners for some work, such as development stacks, while routing private-network work to your own pools.
  • Scale on your terms: Create multiple pools and add runners to a pool to increase concurrency, up to 150 concurrent workflows per organization.

To create, scale, and assign a runner pool, see the customer-managed runners setup guide. The rest of this page explains what runs on customer-managed runners, how each kind of work picks a pool, the execution model, how to supply cloud credentials, and the full configuration reference.

What runs on customer-managed runners ​

A runner can run three workflow types. All three are enabled by default, and the enabled_workflow_types setting lets you dedicate a runner to a subset.

Workflow typeenabled_workflow_types valueWhat it covers
DeploymentsdeploymentEvery Pulumi Deployments operation on a stack, from any deployment trigger: on-demand runs from the console or REST API, git push to deploy, review stacks, remote Automation API, scheduled drift detection and remediation, and time-to-live stacks.
Discovery scansinsights_scanOn-demand and scheduled scans of a cloud account.
Policy evaluationspolicy_evaluationEvaluations run by audit policy groups. Preventative policy groups run inside pulumi up and pulumi preview wherever the CLI runs, so they don't use a runner pool.

How work chooses a runner pool ​

Each kind of work resolves its pool independently. If nothing more specific is set, it falls back to the organization's default runner pool, and then to the Pulumi hosted pool.

  • Deployments: the pool set in the stack's Settings > Deploy page (the Deployment runner pool dropdown), then the organization default, then the Pulumi hosted pool. See Runner pools.
  • Discovery scans: the cloud account's pool, then the organization default, then the Pulumi hosted pool. A scan started through the REST API can name a different pool for that one scan. See Run scans and policy evaluations on customer-managed runners.
  • Policy evaluations: the audit policy group's pool, then the organization default, then the Pulumi hosted pool.

Self-hosted Pulumi Cloud installations have no Pulumi hosted pool, so all of this work must run on a customer-managed runner pool.

Not supported on customer-managed runners ​

The following features run only on Pulumi-managed runners:

  • Dependency caching: if a stack is assigned to a customer-managed pool, the setting has no effect. Because you control the runner environment and image, you can manage caching yourself, for example by persisting package manager caches and the Pulumi plugin directory (~/.pulumi/plugins) across jobs, or by pre-baking them into your runner image.
  • Terraform remote execution: Terraform runs can't be assigned to a customer-managed pool.
  • Terraform module conversion in Pulumi Cloud.
  • Pulumi Neo tasks.

Terminology ​

The same concept appears under a few names across Pulumi tools:

  • The CLI, REST API, and RBAC scopes call a runner pool an agent pool (for example, the agent_pool:* scopes and agent pool access tokens).
  • The runner binary is customer-managed-workflow-agent, and its configuration file is pulumi-workflow-agent.yaml.
  • The Pulumi Cloud console lists pools under Workflow runner pools in organization settings, and labels a stack's pool setting Deployment runner pool.

Execution model ​

A workflow runner is a long-lived agent process. It polls Pulumi Cloud for pending work, claims one job at a time through an exclusive claim, launches an isolated runner environment to execute that job, streams the results back to Pulumi Cloud, and then discards the per-job environment. The agent itself keeps running and polls for the next job.

The deploy_target setting controls how the agent creates that per-job environment. It has three values — docker, kubernetes, and ecs — and the choice determines the isolation model, the prerequisites, and how you scale.

mermaid
sequenceDiagram
    participant Agent as Runner agent
    participant Cloud as Pulumi Cloud
    participant Env as Per-job container, Pod, or ECS task

    loop Until a job is available
        Agent->>Cloud: Poll for pending work
    end
    Cloud-->>Agent: Job claimed exclusively by this agent
    Agent->>Env: Launch isolated runner environment
    activate Env
    Env->>Cloud: Execute the job and stream results
    Agent->>Cloud: Check job status (detects cancellation)
    Env-->>Agent: Job finished
    deactivate Env
    Agent->>Env: Discard the environment
    Note over Agent: Keeps running and polls for the next job

Docker ​

With deploy_target: docker (the default), the agent connects to the local Docker socket and launches a separate runner container for each job. Because a runner container runs Pulumi operations that may themselves build images or start containers, this pattern is often referred to informally as Docker-in-Docker (DinD). Mechanically, though, the agent starts a runner container through the Docker socket rather than nesting a Docker daemon.

Docker-specific behavior:

  • pull_image — when true (the default), the agent pulls the workflow image from the registry for each job; when false, it uses a locally cached image.
  • env_forward_allowlist — host environment variables named here are forwarded into the runner container, which is how you pass cloud provider credentials or other host-defined secrets into a job. DOCKER_HOST is always forwarded.
  • shared_volume_directory — the host directory used to create the temporary directories that are mounted into the runner container. Leave it empty to use the operating system's default temporary location.

This mode requires only a Docker daemon on the host, which makes it the simplest way to run an agent on a single VM or bare-metal host.

Kubernetes ​

With deploy_target: kubernetes, the agent uses the in-cluster Kubernetes API to launch a runner Pod for each job, so every job gets Pod-level isolation and is scheduled by Kubernetes across your cluster. In this mode the agent runs as a Kubernetes Deployment, and its configuration is supplied as environment variables on that Deployment or through a configuration file mounted into the agent Pod. The Kubernetes-specific PULUMI_AGENT_IMAGE_PULL_POLICY setting controls the pull policy of the agent image used by each runner Pod, not of your executor image. See Executor image pull policy for how to control the executor image. For the objects the agent creates for each job and the permissions it needs, see Job objects and RBAC.

This mode fits environments that already run Kubernetes and want the cluster to handle scheduling and resource limits. It also enables ephemeral, per-job runners: set single_run: true so the agent exits after one job, and drive it with a Kubernetes Job or CronJob so a fresh agent starts for each job.

Amazon ECS ​

With deploy_target: ecs, the agent runs as a long-lived ECS service and launches each job as a one-off ECS task, by default on AWS Fargate. On Fargate, every task runs in its own microVM, so each job is isolated from every other job and from the agent. ECS Fargate is also available in AWS GovCloud (US), where EKS Fargate isn't, which makes this target a fit for regulated environments that require per-job isolation. The ECS target requires agent version v2.3.0 or later.

Each job's task has two containers:

  • pulumi-workflow-prepare: an init container that runs the agent image. It fetches the job and copies the workflow-runner binary into a volume shared with the job container.
  • pulumi-workflow: the job container. It runs the executor image with workflow-runner as its entry point.

The agent builds each task definition from an optional base template that you supply, which sets the task's IAM roles, CPU and memory, logging, and any sidecars. It registers one task definition for each distinct combination of template, executor image, and agent image, then reuses it for later jobs. When you cancel a deployment, the agent stops its task.

For the settings, IAM permissions, and limitations of this target, see ECS-managed runners.

One job per runner ​

Regardless of the deploy target, each agent process runs one deployment at a time — plus, optionally, one Discovery scan or policy evaluation in parallel — and has no internal worker pool to configure. To run more jobs concurrently, add more agents to the pool rather than trying to scale a single agent. For the full set of scaling patterns, per-organization concurrency limits, and crash-recovery behavior, see Scaling and concurrency in the setup guide.

Choosing a deploy target ​

Docker (deploy_target: docker)Kubernetes (deploy_target: kubernetes)Amazon ECS (deploy_target: ecs)
PrerequisiteA Docker daemon on the hostA Kubernetes clusterAn ECS cluster, with Fargate or EC2 capacity
Per-job unitA runner container launched via the Docker socketA runner Pod launched via the in-cluster APIAn ECS task launched via RunTask
IsolationContainer-level, sharing the host Docker daemonPod-level, scheduled and isolated by the clusterTask-level; on Fargate, a separate microVM per job
ScalingRun more agent processes (for example, more hosts or systemd units)Run more agent replicas, or use single_run with a Job/CronJob for ephemeral per-job runnersIncrease the desired count of the agent's ECS service
Best fitA single VM or host where you want the simplest setupAn existing Kubernetes environment that should schedule and bound runner resourcesAWS environments, including GovCloud, that need per-job isolation without managing hosts

Providing cloud credentials to runners ​

Where a job gets its cloud provider credentials depends on its workflow type.

Deployments ​

Deployments support three ways to supply credentials:

  1. Pulumi ESC (recommended): import an ESC environment into the stack's environment, and the Pulumi CLI opens it on the runner during the deployment. ESC environments can issue short-lived credentials themselves, for example with the aws-login provider.
  2. Pulumi Deployments OIDC: if your runners can't reach Pulumi Cloud to use ESC, configure OIDC in the stack's deployment settings. Pulumi Cloud issues an OIDC token for each deployment, and the runner exchanges it with your cloud provider before the Pulumi program runs. The runner needs outbound access to the cloud provider's token endpoint, such as AWS STS, and the cloud provider must trust the Pulumi OIDC issuer, just as with Pulumi-managed runners.
  3. Host environment variables: forward credentials that already exist on the runner host into each job with env_forward_allowlist.

For a comparison of ESC and Deployments OIDC, see Supplying cloud credentials to Pulumi Deployments.

Discovery scans ​

Discovery scans get their credentials from the ESC environment attached to the cloud account. The scanner opens that environment on your runner and exports its values into the scan, replacing any forwarded host variable with the same name. Deployments OIDC doesn't apply to scans.

The runner needs network access to Pulumi Cloud, which it already has in order to poll for work, and to the cloud provider APIs being scanned.

Policy evaluations ​

Policy evaluations don't call cloud provider APIs. They read stack state and discovered resources from Pulumi Cloud, so they need no cloud credentials. If a policy pack needs configuration or secrets, attach an ESC environment to it. The runner opens that environment and passes its environmentVariables and policyConfig to the policy pack.

Forwarding host environment variables ​

The env_forward_allowlist setting forwards named environment variables from the runner host into every job, whatever its workflow type. To use it, set the variables on the host, or pass them when you start the runner:

bash
VARIABLE=value customer-managed-workflow-agent run

Then list the variable names in pulumi-workflow-agent.yaml:

yaml
token: pul-d2d2….
version: v0.0.5
env_forward_allowlist:
    - key_one
    - key_two
    - key_three

Don't forward variables that Pulumi sets for each job, such as PULUMI_ACCESS_TOKEN. A forwarded variable can replace the value Pulumi provides.

Configuration reference ​

You configure customer-managed runners with the pulumi-workflow-agent.yaml file, which you can create manually or with the customer-managed-workflow-agent configure command, or with PULUMI_AGENT_ environment variables (see below).

The workflow runner will look for pulumi-workflow-agent.yaml in the following directories:

  • Current directory
  • Home directory
  • /etc
  • Location of the customer-managed-workflow-agent binary

Below are the available configuration parameters and their default values. In most cases, only token is required.

Any setting can also be provided as an environment variable using the PULUMI_AGENT_ prefix and the upper-cased key name (for example, token → PULUMI_AGENT_TOKEN, polling_interval → PULUMI_AGENT_POLLING_INTERVAL). Environment variables take precedence over values in the configuration file.

Duration values use Go duration syntax: a sequence of decimal numbers each with an optional fraction and a unit suffix, such as 300ms, 30s, 1m, or 1h30m. Valid units are ns, us (or µs), ms, s, m, and h.

yaml
# pulumi-workflow-agent.yaml

## Required settings

# Pulumi token provided when creating a new workflow runner pool.
# Required unless using OIDC.
# Environment variable override: PULUMI_AGENT_TOKEN
token: pul-xxx

## Optional settings

# If using Self-Hosted Pulumi, set this to the API domain of your instance.
# Trailing slashes are stripped automatically.
# Environment variable override: PULUMI_AGENT_SERVICE_URL
service_url: "https://api.pulumi.com"

# The base path from which to load the runner binaries (workflow-runner and,
# for Docker, workflow-runner-embeddable). Defaults to the directory of the
# customer-managed-workflow-agent binary (usually ~/.pulumi/bin/).
# Environment variable override: PULUMI_AGENT_WORKING_DIRECTORY
working_directory: "<location of customer-managed-workflow-agent binary>"

# Host directory used to create temporary directories that are mounted into
# the runner container. Leave empty to use the OS default temporary location.
# Environment variable override: PULUMI_AGENT_SHARED_VOLUME_DIRECTORY
shared_volume_directory: ""

# Where workflow jobs are executed. One of: docker, kubernetes, ecs.
# - docker: the agent launches runner containers via the local Docker socket.
# - kubernetes: the agent launches runner Pods via the in-cluster Kubernetes API.
# - ecs: the agent launches one ECS task per job (see "ECS-managed runners").
# See the "Execution model" section above for how each target runs a job.
# Environment variable override: PULUMI_AGENT_DEPLOY_TARGET
deploy_target: "docker"

# If true, the runner exits after completing a single workflow job.
# Useful for ephemeral, one-shot runners (for example, Kubernetes Jobs).
# Environment variable override: PULUMI_AGENT_SINGLE_RUN
single_run: false

# If true, the runner pulls the workflow image from the registry on each
# job. If false, it uses a locally cached image. (Docker target only.)
# Environment variable override: PULUMI_AGENT_PULL_IMAGE
pull_image: true

# Workflow types this runner is allowed to claim. All types are enabled by
# default. Set this to dedicate runners to specific kinds of work.
# Valid values: deployment, insights_scan, policy_evaluation.
# Environment variable override: PULUMI_AGENT_ENABLED_WORKFLOW_TYPES
# Environment variable format is comma-separated:
#   PULUMI_AGENT_ENABLED_WORKFLOW_TYPES="deployment,insights_scan,policy_evaluation"
enabled_workflow_types:
    - deployment
    - insights_scan
    - policy_evaluation

# Host environment variables that are forwarded into runner containers.
# Use this to pass cloud provider credentials or other secrets defined on the
# host into workflow jobs. DOCKER_HOST is always forwarded.
# Environment variable override: PULUMI_AGENT_ENV_FORWARD_ALLOWLIST
# Environment variable format is space-separated:
#   PULUMI_AGENT_ENV_FORWARD_ALLOWLIST="VAR1 VAR2"
env_forward_allowlist: []

## OpenID Connect (OIDC) settings
## See the "Leveraging OpenID authentication" section. When oidc_token_file is set,
## `organization_name` and `runner_pool_id` are required, and `token` is not used.

# Path to a file containing an OIDC token that will be exchanged for a
# Pulumi token. The file is re-read whenever the Pulumi token expires.
# Environment variable override: PULUMI_AGENT_OIDC_TOKEN_FILE
oidc_token_file: ""

# Pulumi organization name. Required when using OIDC.
# Environment variable override: PULUMI_AGENT_ORGANIZATION_NAME
organization_name: ""

# Pool ID this runner will connect to. Required when using OIDC.
# (Without OIDC, the pool is inferred from the token.)
# Environment variable override: PULUMI_AGENT_RUNNER_POOL_ID
runner_pool_id: ""

# Requested lifetime for tokens issued via the OIDC exchange (duration).
# Environment variable override: PULUMI_AGENT_TOKEN_EXPIRATION
token_expiration: ""

## Polling and retry settings

# Default polling interval for checking for new workflow jobs. The server
# may return a Retry-After hint that supersedes this value (see
# polling_interval_override).
# Environment variable override: PULUMI_AGENT_POLLING_INTERVAL
polling_interval: "1m"

# If true, ignore any Retry-After header from the server and always use
# polling_interval instead.
# Environment variable override: PULUMI_AGENT_POLLING_INTERVAL_OVERRIDE
polling_interval_override: false

# How often the runner checks the status of an in-progress job (used to
# detect cancellations).
# Environment variable override: PULUMI_AGENT_JOB_STATUS_LOOP_INTERVAL
job_status_loop_interval: "30s"

# Per-call timeout for API requests to Pulumi Cloud.
# Environment variable override: PULUMI_AGENT_REQUEST_TIMEOUT
request_timeout: "30s"

# Maximum number of retries for rate-limited or transient API failures.
# Environment variable override: PULUMI_AGENT_REQUEST_RETRY_COUNT
request_retry_count: 2

# Initial backoff between retries.
# Environment variable override: PULUMI_AGENT_REQUEST_RETRY_WAIT
request_retry_wait: "20s"

# Cap on the backoff between retries.
# Environment variable override: PULUMI_AGENT_REQUEST_RETRY_MAX_WAIT
request_retry_max_wait: "2m"

# Number of consecutive API failures before the circuit breaker trips and
# polling pauses. Each failure already includes its own retries, so the
# effective number of failed requests is higher than this value.
# Environment variable override: PULUMI_AGENT_CIRCUIT_BREAKER_FAILURES
circuit_breaker_failures: 2

# How long the circuit breaker stays open after tripping.
# Environment variable override: PULUMI_AGENT_CIRCUIT_BREAKER_TIMEOUT
circuit_breaker_timeout: "10m"

## Health and observability

# Port for the runner's local HTTP server, which exposes a health check
# endpoint.
# Environment variable override: PULUMI_AGENT_HTTP_SERVER_PORT
http_server_port: 8080

# Maximum time the runner can go without making progress before the health
# endpoint reports unhealthy. If unset (the default), the threshold is
# automatically derived as twice the longer of polling_interval and
# job_status_loop_interval.
# Environment variable override: PULUMI_AGENT_HEALTH_THRESHOLD
health_threshold: ""

# If true, write log output to syslog instead of stderr.
# Environment variable override: PULUMI_AGENT_SYSLOG
syslog: false

Kubernetes-managed runners ​

For Kubernetes-native installations, configuration for customer-managed runners is set on the Kubernetes Deployment that runs the workflow runner. Configuration values may be set as environment variables, or by mounting a configuration file in the workflow runner Pod.

The following Kubernetes-specific configuration options are available:

yaml
# Pull policy for the agent image used by the runner Pod's init container.
# This does not set the pull policy of the executor image.
# https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy
PULUMI_AGENT_IMAGE_PULL_POLICY: IfNotPresent

# How the agent passes each job to its runner Pod. Requires agent version v2.4.0 or later.
# One of: secret (recommended), prefer-secret (the default when unset).
# Set as an environment variable on the agent Deployment.
# See "Job credentials" below.
PULUMI_AGENT_JOB_CREDENTIALS_MODE: secret

Executor image pull policy ​

Each job runs in a worker Pod with two containers: the copy-workflow-runner init container, which runs the agent image, and the pulumi-workflow container, which runs the executor image. PULUMI_AGENT_IMAGE_PULL_POLICY sets the pull policy of the init container only.

The executor image's pull policy is controlled by imagePullPolicy on the pulumi-workflow container in the worker Pod template. To keep an executor image on the node between deployments, set imagePullPolicy: IfNotPresent on that container. To force a fresh pull for every job, set imagePullPolicy: Always.

For how to supply a worker Pod template to the agent, see Pod Spec Configuration in the agent's Kubernetes README.

Job objects and RBAC ​

Starting with agent version v2.4.0, the agent passes each job's credentials to its runner Pod in a Secret named pulumi-workflow-<suffix>-credentials. Only that Pod mounts the Secret, and the Pod owns it, so Kubernetes deletes it with the Pod. The Pod then fetches its job definition from Pulumi Cloud. If the agent may not create Secrets, it puts the credentials in a ConfigMap instead, which anyone who can read ConfigMaps in the namespace can read, and logs a warning on every job.

The agent's service account needs a Role in the agent's namespace with these rules:

yaml
rules:
  - apiGroups: [""]
    resources: ["pods", "pods/log", "configmaps"]
    verbs: ["create", "get", "list", "watch", "update", "delete"]
  - apiGroups: [""]
    resources: ["secrets"]
    verbs: ["create"]

Don't grant any other verb on Secrets: delete and deletecollection can return Secret contents. A job whose image needs registry credentials needs the secrets rule in either flow.

Your worker Pod template must not set the pulumi-workflow container's command or args: the agent sets them itself and fails the job during setup if the template does. Admission policies must allow the agent to create Secrets and allow job Pods to use secret volumes.

Job credentials ​

PULUMI_AGENT_JOB_CREDENTIALS_MODE on the agent Deployment selects the flow:

  • secret (recommended): always use a Secret. If the agent may not create Secrets, the job fails during setup. The install program sets this value.
  • prefer-secret (the default when unset): use a Secret when the agent may create Secrets, and a ConfigMap otherwise.

To upgrade an existing install, see Upgrading to the Secret-based job credentials in the agent's Kubernetes README.

ECS-managed runners ​

The ECS target requires agent version v2.3.0 or later. Run the agent as an ECS service, and set its configuration as environment variables in the agent's task definition or in a configuration file mounted into the agent container.

The following ECS-specific configuration options are available:

yaml
deploy_target: "ecs"
ecs:
  # The ECS cluster that job tasks run in. Required.
  # Environment variable override: PULUMI_AGENT_ECS_CLUSTER
  cluster: "workflow-jobs"

  # Subnets for each task's awsvpc network interface. Required.
  # Environment variable override: PULUMI_AGENT_ECS_SUBNETS
  subnets: ["subnet-0123", "subnet-4567"]

  # Security groups for each task's network interface.
  # Environment variable override: PULUMI_AGENT_ECS_SECURITY_GROUPS
  security_groups: ["sg-0123"]

  # Launch type for job tasks. Defaults to FARGATE.
  # Environment variable override: PULUMI_AGENT_ECS_LAUNCH_TYPE
  launch_type: "FARGATE"

  # Whether to assign a public IP address to each task. Defaults to false.
  # Environment variable override: PULUMI_AGENT_ECS_ASSIGN_PUBLIC_IP
  assign_public_ip: false

  # Path to a base task definition for job tasks. If set, the file must exist.
  # Environment variable override: PULUMI_AGENT_ECS_TASK_DEFINITION_TEMPLATE_FILE
  task_definition_template_file: "/etc/pulumi/worker-task-definition.json"

List settings take a space-separated string from the environment, for example PULUMI_AGENT_ECS_SUBNETS="subnet-0123 subnet-4567". At startup, the agent checks that it can reach the cluster and fails if it can't.

Task definition template ​

task_definition_template_file points to a base task definition in the format that aws ecs register-task-definition --cli-input-json accepts, not the output of describe-task-definition. Use it to set:

  • The execution role, which pulls the executor and agent images and ships container logs.
  • The task role, which gives jobs their AWS credentials.
  • Task cpu and memory. The default is 1 vCPU and 4 GiB.
  • runtimePlatform, and any sidecar containers.

networkMode must be awsvpc, which is the default, for both launch types. To configure the job container, such as its log configuration, include a container named pulumi-workflow; the agent sets its image, entry point, command, and runner mount. Other container and volume names that start with pulumi-workflow- are reserved for the agent.

Without a template, job tasks have no execution role or task role. The executor image must then be public, container logs aren't shipped anywhere, and jobs get AWS credentials only from their own configuration, such as Pulumi ESC or OIDC.

Agent image ​

The pulumi-workflow-prepare container runs the image set by PULUMI_AGENT_IMAGE, which defaults to the agent's own release, pulumi/customer-managed-workflow-agent:<version>. The task's execution role must be able to pull it. If you mirror the image, for example to an Amazon ECR registry in GovCloud, set PULUMI_AGENT_IMAGE to the mirror of the same release that the agent runs. Mixing agent and image releases isn't supported.

IAM permissions ​

The agent's AWS credentials need the following permissions:

  • ecs:RegisterTaskDefinition
  • ecs:DescribeTaskDefinition
  • ecs:RunTask
  • ecs:TagResource
  • ecs:DescribeTasks
  • ecs:StopTask
  • ecs:DescribeClusters
  • iam:PassRole on the roles in the task definition template

WARNING

The agent passes each job's credentials to its task as RunTask environment overrides. CloudTrail masks these values, but any principal allowed ecs:DescribeTasks on the cluster can read them while the job runs. Restrict ecs:DescribeTasks on the job cluster accordingly.

Task definitions and tags ​

Because the agent registers task definitions with content-hashed family names, it tags each one with pulumi-workflow/managed-by=workflow-runner, plus pulumi-workflow/job-image and pulumi-workflow/agent-image naming the images it runs. Task definitions the agent no longer uses stay ACTIVE until you deregister them; if a job needs a deregistered one again, the agent registers it again. Each task is tagged pulumi-workflow/id with its job's ID, and inherits the task definition's tags.

Limitations ​

  • The executor image must be pullable by the task's execution role. Inline registry credentials on the executor image aren't supported.
  • Fargate provides no Docker daemon, so jobs that build container images need a rootless builder or an external build service.
  • Fargate doesn't cache images between tasks, so every job pulls its executor image. You may be able to shorten start times by using a smaller executor image, an ECR pull through cache, or SOCI-indexed images.

Content from the official Pulumi documentation (github.com/pulumi/docs).