Skip to content

atmos describe affected: does not consider component changes #1978

Closed

Description

Describe the Bug

atmos describe affected seems to only consider stack changes, but not component changes.

Expected Behavior

According to the doc, component changes should have affected stacks listed too.

Steps to Reproduce

$ diff -r --exclude=.git . /tmp/ref
diff -r '--exclude=.git' ./atmos_test/components/terraform/second_component/main.tf /tmp/ref/atmos_test/components/terraform/second_component/main.tf
1c1
< resource "terraform_data" "display_message_modified" {
---
> resource "terraform_data" "display_message" {


$ atmos describe affected --repo-path /tmp/ref
[]

Of course, in this example, second_component is referenced in my stacks:

$ atmos list instances
 Component         Stack 
─────────────────────────
 myapp             dev   
 myapp             prod  
 second_component  dev   
 second_component  prod  

Screenshots

No response

Environment

Atmos 1.204.0

Additional Context

No response

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

Metadata

Metadata

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions