User allow list

akamai_apr_user_allow_lis

📘

Hello. Just a note to let you know the underlying API on which this resource is built is general release and has been vetted, but because this is a new feature for our Terraform provider, we've given it beta label.

This status just means we've paused for a bit to get your feedback to make sure this resource works like you need and expect.

Create, update, or delete a user allow list. To destroy a list, run terraform destroy.

resource "akamai_apr_user_allow_list" "my_allow_list" {
  config_id = 12345
  user_allow_list = jsonencode(
    {
      "userAllowListId" : "123456_MyAllowList"
    }
  )
}
my_user_allow_list = {
  config_id = 12345
  id        = "12345"
  json      = jsonencode(
    {
      metadata        = {
        configId      = 12345
        configVersion = 1
      }
      userAllowListId = "123456_MyAllowList"
    }
  )
}

Arguments

Pass a security configuration's ID in the data block to create a user list.

ArgumentRequiredDescription
config_id✔️Your security configuration's ID.
user_allow_listA Client Lists' user-type list ID.

Attributes

There is no standard output for this resource as changes are reflected in your state file.

Note: There is an id attribute returned as well. It is an ID for the run of the resource and is not needed downstream anywhere.

AttributeDescription
config_idYour security configuration's ID.
jsonA jsonencoded object that details the associated allow list. Contains:
  • metadata. Your security configuration's config_id and its configVersion
  • userAllowListId. Your allow list's ID.