Netflix / metaflow-tools

:rocket: Deployment tools/scripts for Metaflow!
http://www.metaflow.org
Apache License 2.0
52 stars 47 forks source link

Remove provider spec from infra module #38

Closed oavdeev closed 2 years ago

oavdeev commented 2 years ago

This messes up provider settings if you want to use infra as a module elsewhere. For example, in my case I have multiple providers for a cross-account config, and infra picks up the wrong one

See https://www.terraform.io/docs/language/modules/develop/providers.html

A module intended to be called by one or more other modules must not contain any provider blocks