GuideReference
TrainingSupportCommunity
Guide

CIDR block

akamai_iam_cidr_block

Get the details of a specified CIDR block.

data "akamai_iam_cidr_block" "my_cird_block" {
  cidr_block_id = 12345
}

output "my_cird_block" {
  value = data.akamai_iam_cidr_block.my_cird_block
}
Changes to Outputs:
  + my_cird_block = {
      + actions       = {
          + delete = true
          + edit   = true
        }
      + cidr_block    = "123.4.5.6/78"
      + cidr_block_id = 12345
      + comments      = "APAC Region"
      + created_by    = "jsmith@email.com"
      + created_date  = "2023-05-28T16:08:15Z"
      + enabled       = true
      + modified_by   = "jsmith@email.com"
      + modified_date = "2024-09-15T16:08:15Z"
    }

Argument

Pass the CIDR block ID in the data block to get its details.

Attributes

Returned to you are the details of the given CIDR block.

AttributeDescription
actionsThe operations you can perform on the CIDR list.
  • delete. Whether you can delete the CIDR block.
    • true. You can delete the CIDR block.
    • false. You can't.
  • edit. Whether you can update the CIDR block.
    • true. You can update the CIDR block.
    • false. You can't.
cidr_block_idThe CIDR block's ID.
cidr_blockThe value of an IP address or IP address range.
commentsThe human-readable details about your CIDR block.
created_byThe user who created the CIDR block.
created_dateThe date when the CIDR block was created in ISO 8601 format.
enabledWhether the CIDR block is enabled.
  • true. The CIDR block is enabled.
  • false. It's disabled.
modified_byThe user who last edited the CIDR block.
modified_dateThe date when the CIDR block was last modified in ISO 8601 format.