You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Terraform v1.0.3 and the modules aren't compatible with a change that appeared in 0.13 already
We now permit at most one required_providers block per module (except for overrides). This prevents users (and Terraform) from struggling to understand how to merge multiple required_providers configurations, with version and source attributes split across multiple blocks.
you have to make your mind now either keep required_provider clause in version.tf or in the main otherwise this module is useless.
Initializing modules...
Downloading oracle-terraform-modules/iam/oci 2.0.2 for iam_compartment_x...
- iam_compartment_x in .terraform/modules/iam_compartment_x/modules/iam-compartment
There are some problems with the configuration, described below.
The Terraform configuration must be valid before initialization so that
Terraform can determine which modules and providers need to be installed.
╷
│ Error: Duplicate required providers configuration
│
│ on .terraform/modules/iam_compartment_x/modules/iam-compartment/versions.tf line 2, in terraform:
│ 2: required_providers {
│
│ A module may have only one required providers configuration. The required providers were previously configured at .terraform/modules/iam_compartment_x/modules/iam-compartment/main.tf:5,3-21.
```
The text was updated successfully, but these errors were encountered:
I'm using Terraform v1.0.3 and the modules aren't compatible with a change that appeared in 0.13 already
This is a purposeful change for 0.13. see terraform #issue hashicorp/terraform#25364
you have to make your mind now either keep required_provider clause in version.tf or in the main otherwise this module is useless.
The text was updated successfully, but these errors were encountered: