here is the documentation:
here is my source code:
resource “checkpoint_management_access_role” “admins” {
name = “FW_Security_Admin”
users {
source = “Internal User Groups”
selection = [“testgroup”]
}
}
here is the summary from “terraform plan” :
checkpoint_management_access_role.admins will be created
- resource “checkpoint_management_access_role” “admins” {
-
color = “black”
-
id = (known after apply)
-
ignore_errors = false
-
ignore_warnings = false
-
name = “FW_Security_Admin”
-
users {
- selection = [
- “testgroup”,
]
- “testgroup”,
- source = “Internal User Groups”
}
}
- selection = [
-
here is the output after “terraform apply” :
Error: json: unsupported type: schema.SchemaSetFunc
on main.tf line 21, in resource "checkpoint_management_access_role" "admins":
21: resource "checkpoint_management_access_role" "admins" {
does anyone know what i’m doing wrong?