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

Feature: Ignore comments in .terraform-version #283

Open
lifeofguenter opened this issue Aug 11, 2021 · 2 comments · May be fixed by #347
Open

Feature: Ignore comments in .terraform-version #283

lifeofguenter opened this issue Aug 11, 2021 · 2 comments · May be fixed by #347

Comments

@lifeofguenter
Copy link

Would be great if the version reader could be expanded slightly beyond a cat to allow the ignoring of comments in the .terraform-version file.

@OJFord OJFord linked a pull request Jul 15, 2022 that will close this issue
OJFord added a commit to OJFord/tfenv that referenced this issue Jul 15, 2022
Using syntax:

    # this whole line is a comment
    1.2.3
    # this is also a comment

but not inline comments.

Closes tfutils#283
Zordrak pushed a commit to OJFord/tfenv that referenced this issue Oct 1, 2022
Using syntax:

    # this whole line is a comment
    1.2.3
    # this is also a comment

but not inline comments.

Closes tfutils#283
@webyneter
Copy link

Yep, if the comments would be ignored I could use Terragrunt to generate it, however, at the moment it's not possible.

@webyneter
Copy link

Any timeline for this one?

OJFord added a commit to OJFord/tfenv that referenced this issue Aug 6, 2023
Using syntax:

    # this whole line is a comment
    1.2.3
    # this is also a comment

but not inline comments.

Closes tfutils#283
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants