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

Introduce a new setting for enhanced validation #1554

Merged
merged 3 commits into from
Oct 3, 2023

Conversation

jpogran
Copy link
Contributor

@jpogran jpogran commented Aug 7, 2023

Adds terraform.validation.enableEnhancedValidation setting to the initializationOptions sent to terraform-ls.

I chose to use terraform.validation as we expect to add future settings for this feature.

This relies on functionality to be added to terraform-ls to parse the new setting.

@jpogran jpogran self-assigned this Aug 7, 2023
@jpogran jpogran linked an issue Aug 7, 2023 that may be closed by this pull request
1 task
@jpogran jpogran marked this pull request as ready for review August 8, 2023 15:15
@jpogran jpogran requested a review from a team as a code owner August 8, 2023 15:15
Adds `terraform.validation.earlyValidation` setting to the initializationOptions sent to terraform-ls.

I chose to use `terraform.validation` as we expect to add future settings for this feature.

This relies on functionality to be added to terraform-ls to parse the new setting.
Copy link
Member

@radeksimko radeksimko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻 Working as expected, assuming hashicorp/terraform-ls#1436 is merged

@radeksimko
Copy link
Member

radeksimko commented Oct 2, 2023

Regarding documentation I expect we can address that in a separate PR, either by reusing something from hashicorp/terraform-ls#1433 or linking to it.

package.json Outdated Show resolved Hide resolved
Co-authored-by: Radek Simko <radek.simko@gmail.com>
@radeksimko radeksimko changed the title Introduce a new setting for early validation Introduce a new setting for enhanced validation Oct 3, 2023
@jpogran jpogran merged commit 3e4b309 into main Oct 3, 2023
17 checks passed
@jpogran jpogran deleted the early_validation_setting branch October 3, 2023 16:06
Copy link

github-actions bot commented Nov 3, 2023

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introduce a new setting for early validation
2 participants