Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non root modules have provider configurations #144

Open
cprivitere opened this issue Oct 15, 2024 · 0 comments
Open

Non root modules have provider configurations #144

cprivitere opened this issue Oct 15, 2024 · 0 comments

Comments

@cprivitere
Copy link

cprivitere commented Oct 15, 2024

The non-root example modules have provider configurations in them. This is not terraform best practice. This causes problems in the following way:

  1. You define one of the example modules in your project and it stands up a connection for you.
  2. You delete that module from your project and expect terraform to delete the connection for you.
  3. Terraform cannot delete the connection because it depends on a provider configuration that's inside the module instance you're deleting.
  4. The user is stuck and must manually remove the connection.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant