Skip to content

meraki_appliance: networks_appliance_firewall_l3_firewall_rules: Restore loop check #55

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

Merged
merged 1 commit into from
May 9, 2025

Conversation

vozhyk-
Copy link
Collaborator

@vozhyk- vozhyk- commented May 9, 2025

Without this check, the resource is created
even when l3_firewall_rules is not specified.
Then resource creation fails
because the rules field is mandatory in the provider.

This was mistakenly removed during manual (not generated) changes in #47.

Also, don't convert the rules field to null if it is an empty list or unspecified - it is mandatory in the provider, so passing null would break the use case of rules=[]; syslog_default_rule=true.

…ore loop check

Without this check, the resource is created
even when `l3_firewall_rules` is not specified.
Then resource creation fails
because the `rules` field is mandatory in the provider.

This was mistakenly removed during manual (not generated) changes
in #47.
@vozhyk- vozhyk- requested review from jon-humphries and danischm May 9, 2025 12:45
@jon-humphries jon-humphries merged commit 7e53f37 into main May 9, 2025
1 check passed
@jon-humphries jon-humphries deleted the fix-loop-conditions-for-singletons branch May 9, 2025 13:07
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.

2 participants