terraform-provider-nsxt
terraform-provider-nsxt copied to clipboard
nsxt_policy_service to group services
Is your feature request related to a problem? Please describe.
It is not clear to me from documentation how one can create a service group made up from already existing services. In other words, how do I declare the above in TF?
Documentation for nsxt_policy_service only shows how to declare a new service, but not a collection of already declared services.
Describe the solution you'd like
Ability to group services so the new service group can be used in the rules rather than individually listing every service in the policy rule.
Describe alternatives you've considered
I can't imagine what to do other than to group them in the UI by hand.
Additional context
No response
I created a service group in the UI by hand
I then declared a tf resource
resource "nsxt_policy_service" "INFRA-SVC-LNX" {
display_name = "INFRA-SVC-LNX"
}
And ran a
$> terraform import module.firewall-policy-objects.nsxt_policy_service.INFRA-SVC-LNX INFRA-SVC-LNX
module.firewall-policy-objects.nsxt_policy_service.INFRA-SVC-LNX: Importing from ID "INFRA-SVC-LNX"...
module.firewall-policy-objects.nsxt_policy_service.INFRA-SVC-LNX: Import prepared!
Prepared nsxt_policy_service for import
module.firewall-policy-objects.nsxt_policy_service.INFRA-SVC-LNX: Refreshing state... [id=INFRA-SVC-LNX]
╷
│ Error: Unrecognized Service Entry Type NestedServiceServiceEntry
│
│
╵
Releasing state lock. This may take a few moments...
Best on the error message, I conclude that this is simply not supported by the current version of the nsxt_policy_service resource
Would you, please, please, please, add this functionality to the nsxt_policy_service resource!?
Hi Team, any update on this feature to add nested services?
Hi everyone. I also need to use this feature. Any news on it ?
Just ran into this issue as well. Is there anyone looking to add nested services to the NSXT provider or did this die?