Skip to content

Orb is stated to be unused #265

@BrentWilkins

Description

@BrentWilkins

I roughly copy-pasted the following code from this example.

version: 2.1
orbs:
  aws-cli: circleci/[email protected]
  aws-ecr: circleci/[email protected]
jobs:
  build-test-then-push-with-buildx:
    machine:
      image: ubuntu-2204:2023.07.2
    steps:
      - aws-ecr/build_and_push_image:
          attach_workspace: true
          auth:
            - aws-cli/setup:
                role_arn: arn:aws:iam::123456789012
          create_repo: true
          dockerfile: Dockerfile
          path: workspace
          platform: linux/amd64
          push_image: false
          region: us-west-2
          repo: my-sample-repo
          tag: sampleTag
          workspace_root: .

workflows:
  build-and-test:
    jobs:
      - build-test-then-push-with-buildx

aws-cli: circleci/[email protected] has the yellow squiggly underline. It expands to this:

Orb is unused cci-language-server
https://circleci.com/docs/creating-orbs#semantic-versioning-in-orbs

An orb to depend on and its semver range, or volatile for the most recent release.

CircleCI config.yml
https://circleci.com/docs/creating-orbs#semantic-versioning-in-orbs

An orb to depend on and its semver range, or volatile for the most recent release.

Source: circleciconfig.json

What is it called when we use it in the auth section below that? In my actual project I don't get the unused error, but I get an undefined error where I use it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions