Skip to content

atmos describe affected does not show the project name if the atlantis integration is enabled #294

Description

Describe the Feature

Add integrations to the output of the atmos describe affected

Expected Behavior

When I run :

atmos describe affected --ref refs/heads/main --verbose=true

the output is:

   {
      "stack": "pepe-ue2-lab",
      "component_type": "terraform",
      "component": "vpc",
      "affected": "stack.vars"
   }
]

if atlantis integration is enabled it will be useful to have the project name added to the output like 👍🏽

   {
      "stack": "pepe-ue2-lab",
      "component_type": "terraform",
      "component": "vpc",
      "affected": "stack.vars"
      "atlantis_project_name": "pepe-ue2-lab-vpc"
   }
]

Use Case

since Atlantis supports dynamically generated atlantis.yaml files it is possible to generate an atlantis.yaml for only the affected component/s and this way limit the blast radius of a PR significantly.

Alternatives Considered

parsing yaml until is not fun anymore....

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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