terraform-aws-ses icon indicating copy to clipboard operation
terraform-aws-ses copied to clipboard

Docs are missing guidance for provider configuration required by external modules

Open tymik opened this issue 2 years ago • 2 comments

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

tymik avatar Dec 16 '22 15:12 tymik