Skip to content

required providers source path for child modules needs to reflect new path #15

@christophercorn

Description

@christophercorn

Description

terraform init returns:

│ Warning: Additional provider information from registry
│ 
│ The remote registry returned warnings for registry.terraform.io/hashicorp/oci:
│ - For users on Terraform 0.13 or greater, this provider has moved to oracle/oci. Please update your source in required_providers.

this is because the child modules cannot inherit "source = oracle/oci" from the parent module. inheritance does not work here. as documented here:
https://developer.hashicorp.com/terraform/language/modules/develop/providers

Note: Only provider configurations are inherited by child modules, not provider source or version requirements. Each module must declare its own provider requirements. This is especially important for non-HashiCorp providers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions