Skip to content

Non root modules have provider configurations #144

@cprivitere

Description

@cprivitere

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions