User allow list

akamai_apr_user_allow_list

📘

Hello. Just a note to let you know the underlying API on which this data source 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 data source works like you need and expect.

Get a user allow list ID.

data "akamai_apr_user_allow_list" "my_user_allow_list" {
  config_id = 12345
}

output "my_user_allow_list" {
  value = data.akamai_apr_user_allow_list.my_user_allow_list
}
my_user_allow_list = {
  config_id = 12345
  id        = "12345"
  json      = jsonencode(
    {
      metadata        = {
        configId      = 12345
        configVersion = 1
      }
      userAllowListId = "123456_MyAllowList"
    }
  )
}

Argument

Pass a security configuration's config_id in the data block to get your user allow list ID.

Attributes

Returned to you is your configuration's user allow list ID.

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

AttributeDescription
config_idYour security configuration's ID.
json
  • metadata. Data about your security configuration. Contains:
    • config_id. Your security configuration's ID.
    • config_version. The security configuration's version.
    • security_policy_id. Your security policy's ID.
  • userAllowListId. Your user allow list's ID.