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

refactor(firewall): migrate firewall_rules resource to plugin framework #573

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

villevsv-upcloud
Copy link
Contributor

TODO:

  • Use TFProto v6

@villevsv-upcloud villevsv-upcloud force-pushed the refactor/migrate-firewall-rules-resource-to-plugin-framework branch from 8616d6f to b94c4fd Compare July 2, 2024 08:42
Required: true,
ForceNew: true,
Description: "The unique id of the server to be protected the firewall rules",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I have used UUID in the other new Id descriptions, but this is a bit different since this refers Id of another resource 🤔

Suggested change
Description: "The unique id of the server to be protected the firewall rules",
Description: "The UUID of the server to be protected the firewall rules",

},
"firewall_rule": {
Type: schema.TypeList,
"firewall_rule": schema.ListNestedAttribute{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, would ListNestedBlock work if we move this from Attributes to Blocks 🤔 Then this would not require change to protocol version 6 and configuration syntax would stay the same as well.

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