This file contains migration guidelines for updating the terraform-provider-migadu.
The big change here was the implementation of semantic equivalence introduced in terraform-plugin-framework 1.3. This made it possible to remove the _punycode
attributes since we no longer have to differentiate between unicode and ASCII encoded domain names because they are semantically equal. Since removing an attribute is a breaking change anyway, this releases contains another breaking change - the rename of migadu_rewrite
to migadu_rewrite_rule
to better reflect what Migadu itself calls these resources. The detailed changes and the proposed action plan is as follows:
- The
destinations_punycode
attribute was removed. Use thedestinations
attribute instead. This attribute will contain the destinations as punycode since the Migadu API returns them as such. Please open a ticket in case you need a dedicated attribute containing the destinations in their unicode form. - The
destinations
attribute is now a set instead of a list. Use the tolist function to get a list in case you need one.
- The
aliases[*].destinations_punycode
attribute was removed. Use thedestinations
attribute instead. This attribute will contain the destinations as punycode since the Migadu API returns them as such. Please open a ticket in case you need a dedicated attribute containing the destinations in their unicode form. - The
aliases[*].destinations
attribute is now a set instead of a list. Use the tolist function to get a list in case you need one.
- The
destinations_punycode
attribute was removed. Put all destinations insidedestinations
attribute instead. You can mix punycode and unicode forms at will and the attribute will retain your formatting. - The
destinations
attribute is now a set instead of a list. Use the toset function to pass in a list like before.
- The
delegations_punycode
attribute was removed. Use thedelegations
attribute instead. This attribute will contain the delegations as punycode since the Migadu API returns them as such. Please open a ticket in case you need a dedicated attribute containing the delegations in their unicode form. - The
delegations
attribute is now a set instead of a list. Use the tolist function to get a list in case you need one. - The
identities_punycode
attribute was removed. Use theidentities
attribute instead. This attribute will contain the identities as punycode since the Migadu API returns them as such. Please open a ticket in case you need a dedicated attribute containing the identities in their unicode form. - The
identities
attribute is now a set instead of a list. Use the tolist function to get a list in case you need one. - The
recipient_denylist_punycode
attribute was removed. Use therecipient_denylist
attribute instead. This attribute will contain the recipient denylist as punycode since the Migadu API returns them as such. Please open a ticket in case you need a dedicated attribute containing the recipient denylist in their unicode form. - The
recipient_denylist
attribute is now a set instead of a list. Use the tolist function to get a list in case you need one. - The
sender_allowlist_punycode
attribute was removed. Use thesender_allowlist
attribute instead. This attribute will contain the sender allowlist as punycode since the Migadu API returns them as such. Please open a ticket in case you need a dedicated attribute containing the sender allowlist in their unicode form. - The
sender_allowlist
attribute is now a set instead of a list. Use the tolist function to get a list in case you need one. - The
sender_denylist_punycode
attribute was removed. Use thesender_denylist
attribute instead. This attribute will contain the sender denylist as punycode since the Migadu API returns them as such. Please open a ticket in case you need a dedicated attribute containing the sender denylist in their unicode form. - The
sender_denylist
attribute is now a set instead of a list. Use the tolist function to get a list in case you need one.
- The
mailboxes[*].delegations_punycode
attribute was removed. Use thedelegations
attribute instead. This attribute will contain the delegations as punycode since the Migadu API returns them as such. Please open a ticket in case you need a dedicated attribute containing the delegations in their unicode form. - The
mailboxes[*].delegations
attribute is now a set instead of a list. Use the tolist function to get a list in case you need one. - The
mailboxes[*].identities_punycode
attribute was removed. Use theidentities
attribute instead. This attribute will contain the identities as punycode since the Migadu API returns them as such. Please open a ticket in case you need a dedicated attribute containing the identities in their unicode form. - The
mailboxes[*].identities
attribute is now a set instead of a list. Use the tolist function to get a list in case you need one. - The
mailboxes[*].recipient_denylist_punycode
attribute was removed. Use therecipient_denylist
attribute instead. This attribute will contain the recipient denylist as punycode since the Migadu API returns them as such. Please open a ticket in case you need a dedicated attribute containing the recipient denylist in their unicode form. - The
mailboxes[*].recipient_denylist
attribute is now a set instead of a list. Use the tolist function to get a list in case you need one. - The
mailboxes[*].sender_allowlist_punycode
attribute was removed. Use thesender_allowlist
attribute instead. This attribute will contain the sender allowlist as punycode since the Migadu API returns them as such. Please open a ticket in case you need a dedicated attribute containing the sender allowlist in their unicode form. - The
mailboxes[*].sender_allowlist
attribute is now a set instead of a list. Use the tolist function to get a list in case you need one. - The
mailboxes[*].sender_denylist_punycode
attribute was removed. Use thesender_denylist
attribute instead. This attribute will contain the sender denylist as punycode since the Migadu API returns them as such. Please open a ticket in case you need a dedicated attribute containing the sender denylist in their unicode form. - The
mailboxes[*].sender_denylist
attribute is now a set instead of a list. Use the tolist function to get a list in case you need one.
- The
delegations_punycode
attribute was removed. Use thedelegations
attribute instead. You can mix punycode and unicode forms at will and the attribute will retain your formatting. - The
delegations
attribute is now a set instead of a list. Use the toset function to pass in a list like before. - The
identities_punycode
attribute was removed. Use theidentities
attribute instead. You can mix punycode and unicode forms at will and the attribute will retain your formatting. - The
identities
attribute is now a set instead of a list. Use the toset function to pass in a list like before. - The
recipient_denylist_punycode
attribute was removed. Use therecipient_denylist
attribute instead. You can mix punycode and unicode forms at will and the attribute will retain your formatting. - The
recipient_denylist
attribute is now a set instead of a list. Use the toset function to pass in a list like before. - The
sender_allowlist_punycode
attribute was removed. Use thesender_allowlist
attribute instead. You can mix punycode and unicode forms at will and the attribute will retain your formatting. - The
sender_allowlist
attribute is now a set instead of a list. Use the toset function to pass in a list like before. - The
sender_denylist_punycode
attribute was removed. Use thesender_denylist
attribute instead. You can mix punycode and unicode forms at will and the attribute will retain your formatting. - The
sender_denylist
attribute is now a set instead of a list. Use the toset function to pass in a list like before.
- The data source was renamed from
migadu_rewrite
tomigadu_rewrite_rule
- The
destinations_punycode
attribute was removed. Use thedestinations
attribute instead. This attribute will contain the destinations as punycode since the Migadu API returns them as such. Please open a ticket in case you need a dedicated attribute containing the destinations in their unicode form. - The
destinations
attribute is now a set instead of a list. Use the tolist function to get a list in case you need one.
- The data source was renamed from
migadu_rewrites
tomigadu_rewrite_rules
- The
rewrites[*].destinations_punycode
attribute was removed. Use thedestinations
attribute instead. This attribute will contain the destinations as punycode since the Migadu API returns them as such. Please open a ticket in case you need a dedicated attribute containing the destinations in their unicode form. - The
rewrites[*].destinations
attribute is now a set instead of a list. Use the tolist function to get a list in case you need one.
- The resource was renamed from
migadu_rewrite
tomigadu_rewrite_rule
- The
destinations_punycode
attribute was removed. Put all destinations insidedestinations
attribute instead. You can mix punycode and unicode forms at will and the attribute will retain your formatting. - The
destinations
attribute is now a set instead of a list. Use the toset function to pass in a list like before.