Skip to content

Docs are missing guidance for provider configuration required by external modules #64

@tymik

Description

@tymik

Found a bug? Maybe our Slack Community can help.

Slack Community

Describe the Bug

│ Error: Invalid provider configuration
│ 
│ Provider "registry.terraform.io/cloudposse/awsutils" requires explicit
│ configuration. Add a provider block to the root module and configure the
│ provider's required arguments as described in the provider documentation.

There is no information about this configuration being required in the documentation.
This is also Cloudposse's provider.

Expected Behavior

As a user I expect external requirements to be clearly stated in the documentation on how they should be configured for the module to work.
Especially when the vendor of provider is the same vendor as the one providing the module.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Use provision instructions:
module "ses" {
  source  = "cloudposse/ses/aws"
  version = "0.22.3"
  # insert the 13 required variables here
}
  1. Run terraform init
  2. Run terraform plan
  3. See error

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug🐛 An issue with the system

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions