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

Validate duplicate provider local names in required_providers #31218

Merged
merged 3 commits into from Jun 15, 2022

Commits on Jun 10, 2022

  1. Check for duplicate types in required_providers

    Adding multiple local names for the same provider type in
    required_providers was not prevented, which can lead to ambiguous
    behavior in Terraform. Providers are always indexed by the providers
    fully qualified name, so duplicate local names cannot be differentiated.
    jbardin committed Jun 10, 2022
    Copy the full SHA
    2581bc9 View commit details
    Browse the repository at this point in the history
  2. skip already added provider nodes

    We can skip providers which already have a node in the graph for their
    type.
    jbardin committed Jun 10, 2022
    Copy the full SHA
    d7238d5 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2022

  1. Copy the full SHA
    57c0deb View commit details
    Browse the repository at this point in the history