Skip to content

Conversation

atorrescogollo
Copy link

@atorrescogollo atorrescogollo commented Oct 2, 2025

Currently, postgresql_grant resources cannot be imported, which forces you to recreate each grant without seeing the current grant status.

This PR adds support for importing postgresql_grant resources into the Terraform state.

The import ID format would be defined as:

<role>@<database>@<object_type>@[<schema>]@[<objects>]@[<columns>]@<with_grant_option>

@atorrescogollo atorrescogollo changed the title feat: Ability to import grants feat: Support for importing postgresql_grant resources Oct 2, 2025
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

Successfully merging this pull request may close these issues.

1 participant