appgate / terraform-provider-appgatesdp

Terraform Provider for Appgate SDP
https://registry.terraform.io/providers/appgate/appgatesdp
MIT License
21 stars 10 forks source link

SDPv6.0/API-17 missing admin-role privilege #255

Closed SPSeanLong closed 2 years ago

SPSeanLong commented 2 years ago

A new privilege for admin roles is the ability to restrict which appliance roles an administrator can select. This privilege uses a new attribute 'functions'

Expected:

  privileges {
    type = "AssignFunction"
    target = "Appliance"
    functions = ["Gateway", "LogServer", "LogForwarder", "Connector", "Portal"]
  }

Error:

╷
│ Error: Unsupported argument
│ 
│   on modules/appgate_objects/customer-admin-access.tf line 198, in resource "appgatesdp_administrative_role" "customer_administrative_role":
│  198:     functions = ["Gateway", "LogServer", "LogForwarder", "Connector", "Portal"]
│ 
│ An argument named "functions" is not expected here.
╵