Skip to content

[terraform] var and var-file options do exist for apply command #1997

@Pranay-Narang

Description

@Pranay-Narang

Sanity checks

  • My issue relates to a specific CLI completion spec (e.g. git checkout is missing options in git completion spec). If your issue is more general, please create your issue here: withfig/fig
  • I have searched github.com/withfig/autocomplete/issues and there are no duplicates of my issue
  • I would like to work on this.

What CLI tool does this relate to?

terraform

Which statement makes the most sense?

This completion spec isn't complete

Issue Details

The terraform apply command just like terraform plan supports the -var and -var-file commands but the autocomplete does not seem to work with the same, is this the intended behaviour? If not, I am happy to work on fixing this issue

Screenshots:
image

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions