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

bug: error when variable is in variables.tf file (same for outputs) #9

Open
greenkiwi opened this issue May 22, 2023 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@greenkiwi
Copy link
Contributor

I am seeing a bug where the checks are telling me that a variables.tf file should not contain variables and that they should be put in a variables.tf file.

Ensure variables are in `variables[.grouping].tf`........................Failed
- hook id: vars-in-variables-files
- exit code: 1

variables file ok: test/terraform/variables.tf
ERROR: variables.tf MUST not contain variables
Variables defined in files that do not match our naming convention: 'variables[.grouping].tf'
See: https://open-turo.github.io/standards-terraform/modules/input-variables/

Ensure outputs are in `outputs[.grouping].tf`............................Failed
- hook id: outputs-in-outputs-files
- exit code: 1

ERROR: outputs.tf MUST not contain outputs
outputs defined in files that do not match our naming convention: 'outputs[.grouping].tf'
@greenkiwi greenkiwi added the bug Something isn't working label May 22, 2023
@greenkiwi greenkiwi self-assigned this May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant