Regression Of Child Module Providers for AWS #998
Labels
bug
Addresses a defect in current functionality.
upstream-terraform
Addresses functionality related to the Terraform core binary.
Hi there,
The original issue here hashicorp/terraform#1819 indicates that child modules should respect the scoped aws provider. For S3 buckets this seems to be failing. I have the following repo https://github.com/moofish32/terraform-bug which is a copy of the CRR example just separating into two modules and this fails with:
Terraform Version
Terraform v0.9.9
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
see repo
Debug Output
available via running the reproduction
Panic Output
N/A
Expected Behavior
The S3 bucket should be created in the nested module configure region which is different than the parent module
Actual Behavior
Error attempting to use parent module s3 endpoint
Steps to Reproduce
terraform apply
in repo root aboveReferences
hashicorp/terraform#1819 I think this is a regression from @apparentlymart last comment in here, but that is only an opinion.
The text was updated successfully, but these errors were encountered: