Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yaml isn't detect after adopt #5385

Open
yeoli9 opened this issue Mar 5, 2025 · 1 comment
Open

yaml isn't detect after adopt #5385

yeoli9 opened this issue Mar 5, 2025 · 1 comment

Comments

@yeoli9
Copy link

yeoli9 commented Mar 5, 2025

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

abstract

In autoplan-file-list, yaml is not detected

Solve

  • not detect
spec:
  template:
    spec:
      source:
        helm:
          valuesObject:
            extraArgs:
              - --autoplan-file-list='**/*.tf,**/*.tfvars,**/*.tfvars.json,**/terragrunt.hcl,**/.terraform.lock.hcl,**/*.yaml'
  • solve this

add **.*.yml in autoplan-file-list

spec:
  template:
    spec:
      source:
        helm:
          valuesObject:
            extraArgs:
              - --autoplan-file-list='**/*.tf,**/*.tfvars,**/*.tfvars.json,**/terragrunt.hcl,**/.terraform.lock.hcl,**/*.yaml,**/*.yml'
@yeoli9 yeoli9 added the bug Something isn't working label Mar 5, 2025
Copy link

dosubot bot commented Mar 5, 2025

Hello, @yeoli9! I'm here to help you with any bugs, questions, or contributions you have. Let's get to the bottom of this together!

YAML files aren't detected in the autoplan-file-list by default because the default patterns do not include *.yml or *.yaml files. To solve this issue, you can add both **/*.yaml and **/*.yml to the --autoplan-file-list. This ensures that changes to any YAML files will trigger the appropriate actions in Atlantis.

Here's how you can configure it:

spec:
  template:
    spec:
      source:
        helm:
          valuesObject:
            extraArgs:
              - --autoplan-file-list='**/*.tf,**/*.tfvars,**/*.tfvars.json,**/terragrunt.hcl,**/.terraform.lock.hcl,**/*.yaml,**/*.yml'

This configuration will trigger autoplan when any .tf, .tfvars, .tfvars.json, terragrunt.hcl, .terraform.lock.hcl, .yaml, or .yml file is modified [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@X-Guardian X-Guardian removed the bug Something isn't working label Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants