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

Make tfaction.yaml optional #2127

Open
suzuki-shunsuke opened this issue Dec 20, 2024 · 0 comments
Open

Make tfaction.yaml optional #2127

suzuki-shunsuke opened this issue Dec 20, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@suzuki-shunsuke
Copy link
Owner

Feature Overview

Fow now you need to add tfaction.yaml on every working directory.
tfaction.yaml is used to identify working directories.
This issue suggests to make tfaction.yaml optional, meaning you don't need to add tfaction.yaml on working directories.

Why is the feature needed?

Adding tfaction.yaml to all working directories is a bit troublesome.
If you want to introduce tfaction to a Monorepo with many working directories, you would need to disable CI temporarily.

Example Code

tfaction-root.yaml

e.g.

# Filenames that tfaction uses to identifies working directories.
# tfaction identifies directories where one of these files exist.
directory_files:
  - providers.tf
  - terraform.tf
ignore_dirs:
  - modules # Ignore directories

Note

No response

@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant