-
Notifications
You must be signed in to change notification settings - Fork 179
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
Implement Terraform: Apply
as a command
#648
Labels
enhancement
New feature or request
Comments
I've been able to achieve something similar to what's being requested using
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem Statement
Terraform allows the user to apply changes to their infrastructure via
terraform apply
, which is likely the most commonly used command.Users would benefit from being able to apply changes directly from the editor.
Technical Details
The extension currently implements the following:
terraform init
terraform plan
terraform validate
The difference in how each command is integrated relate to how the output/outcome is mappable to LSP and how it can be communicated to the user.
Expected User Experience
User is able to open a command palette and choose "Terraform: Apply", similar to how they can do that for
terraform plan
currently:Then user will be prompted to confirm the action via prompt.
Then the user will see the
apply
command executed in the VS Code terminal, similar toterraform plan
:Proposal
Implement
terraform apply
as command executable from the command palette.It may be easiest to just implement it initially so that it executes in the integrated terminal. We can later assess whether any integration with LS is useful.
The text was updated successfully, but these errors were encountered: