wb resource create ecr-external-repository

Name

wb-resource-create-ecr-external-repository - Add a controlled AWS ECR external repository.

Synopsis

wb resource create ecr-external-repository [--access=<access>] --account=<account> [--description=<description>] [--format=<format>] --region=<region> [--repository-name=<repositoryName>] [--workspace=<id>] (--id=<id>)

Description

Add a controlled AWS ECR external repository.

Options

  • --access=<access>
    Access scope for the resource.

    Valid values: SHARED_ACCESS, PRIVATE_ACCESS

    Default: SHARED_ACCESS
    
  • --account=<account>
    Account number that the external repository resides in.

  • --description=<description>
    Description of the resource.

  • --format=<format>
    Set the format for printing command output. Defaults to the config format property.

    Valid values: JSON, TEXT

    Default: null
    
  • --id=<id>
    ID of the resource, scoped to the workspace. Only use letters, numbers, dashes, and underscores.

  • --region=<region>
    AWS Region that the external repository resides in.

  • --repository-name=<repositoryName>
    Name of the external ECR repository. If not provided, access will be granted to all repositories in the account/region.

  • --workspace=<id>
    Workspace ID to use for this command only.

Last Modified: 13 March 2026