Skip to content

fix: Add required_providers to main module #11

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jghal
Copy link

@jghal jghal commented Jul 21, 2025

Description

Add missing required_provider in the main module to resolve the warning mentioned in #3 and #10.

Motivation and Context

It solves an init warning that was put in place as part of backwards compatibility in Terraform 0.13, as explained by HashiCorp developer here. The version constraint was copied from the required_versions found in all the submodules' versions.tf files.

Breaking Changes

It should not be a breaking change. The main module already requires Terraform >= 1.0 and the warning was added in v0.13.

How Has This Been Tested?

After receiving the warning running terraform init -backend=false I edited .terraform/modules/network_firewall/versions.tf and added the change and then reran the init command to confirm the warning is no longer displayed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant