Skip to content

Conversation

@romanromanovv
Copy link

@romanromanovv romanromanovv commented Jul 4, 2023

Hello,

This Pull Request is in reference to Support Ticket #8512414 [EFN]. It introduces modifications to the Fortinet SDK to enhance support for the Fortimanager Terraform provider, enabling the creation of policies inside the policy block.

Central to these modifications is the addition of missing functions that form the crux of this new functionality. For a detailed view of these changes, please review the updates in fortimanager2/sdkcore/sdkfos.go.

These changes aim to accommodate and streamline the process of policy creation within the policy block, deviating from the conventional policy package creation method, thus extending the flexibility and capability of the Terraform provider.

The remaining changes might appear unrelated but were essential for the compilation of a new custom provider: https://registry.terraform.io/providers/romanromanovv/fortimanager/latest. Although these alterations do not directly impact the policy block functionality, they were necessary for the broader functionality of the new custom provider.

I am open to discussing this implementation further and would appreciate your feedback. Please feel free to share your comments or questions on this matter.

Thank you for your attention and understanding.

Best Regards,

Roman Romanov added 2 commits June 19, 2023 16:29
@monikazi
Copy link

Hello fortinetdev Team,

Could you please let us know if extending Terraform support for Policy Blocks is feasible? Ideally, all available APIs should be supported.

Best regards,
M

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