terraform-provider-nsxt icon indicating copy to clipboard operation
terraform-provider-nsxt copied to clipboard

nsx_id argument is missing under rule argument on nsxt_policy_gateway_policy and nsxt_policy_security_policy resources

Open scharrier-revolve opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe.

When a Gateway Policy or a Security Policy with a rule is created, the rule has a generated unique ID (id field in the API), it must be possible to define a custom ID (like the Display Name) for the rule as we can define it for the parent Gateway/Security Policy

Describe the solution you'd like

Add nsx_id argument under rule argument on nsxt_policy_gateway_policy and nsxt_policy_security_policy resources

Describe alternatives you've considered

No response

Additional context

No response

scharrier-revolve avatar Apr 22 '22 09:04 scharrier-revolve

Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label.

If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!

github-actions[bot] avatar Apr 17 '23 17:04 github-actions[bot]

Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label.

If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!

github-actions[bot] avatar Apr 26 '24 17:04 github-actions[bot]

For the security policy, the issue is fixed with newly introduced pair of resources https://registry.terraform.io/providers/vmware/nsxt/latest/docs/resources/policy_parent_security_policy https://registry.terraform.io/providers/vmware/nsxt/latest/docs/resources/policy_security_policy_rule

Those resources are still in Beta but expected to be promoted in next release.

For gateway policy this feature is not available yet, hence keeping this issue open. Sorry for the long wait!

annakhm avatar May 17 '24 16:05 annakhm