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

Adding Functionality to Create Policies Inside Policy Block #39

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

romanromanovv
Copy link

Hello,

This PR (fortinetdev/forti-sdk-go#8) pertains to Support Ticket #8512414 [EFN] and involves significant modifications to the Fortinet SDK. The changes were implemented to add support for the creation of policies inside the policy block in the Fortimanager terraform provider.

A new file, fmg/resource_packages_firewall_policy_block.go, has been introduced. This file, along with its associated call in fmg/provider.go, serves to create a new Terraform resource, "fortimanager_packages_firewall_policy_block". This novel resource permits the creation of a policy within the policy block, which is a departure from the existing policy package creation process.

Please take a moment to review these changes, particularly the new file and its corresponding function call. Your feedback is of utmost importance, especially in the context of the intended functionality and the proposed implementation.

The remaining changes, though seeming unrelated, were necessary adjustments to enable the compilation of a new custom provider: https://registry.terraform.io/providers/romanromanovv/fortimanager/latest. They do not directly contribute to the policy block functionality.

I welcome any comments, questions, or discussions related to this implementation. Thank you for your time and consideration.

Best Regards,

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