Skip to content

Conversation

wata727
Copy link
Member

@wata727 wata727 commented Oct 8, 2023

See also https://developer.hashicorp.com/terraform/language/checks

Terraform v1.5 now supports check blocks and scoped (nested) data sources.
This PR enables GetProviderRefs to consider provider references for scoped data sources.
This change allows the terraform_required_providers and terraform_unused_required_providers rules to correctly recognize scoped data sources.

@wata727 wata727 merged commit 0e701d3 into main Oct 9, 2023
@wata727 wata727 deleted the provider_refs_in_scoped_data_sources branch October 9, 2023 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant