CIDR block
akamai_iam_cidr_block
Create and manage CIDR blocks assigned to your allowlists. To delete a CIDR block, run terraform destroy
.
resource "akamai_iam_cidr_block" "my_cidr_block" {
cidr_block = "1.1.1.1"
comments = "Creating my CIDR block"
enabled = true
}
Arguments
The cidr_blocks
argument is optional. Not providing it in the resource body creates a null
object you can complete later.
Pass the required arguments for the cidr_blocks
set to create or update a CIDR block.
Argument | Required | Description |
---|---|---|
cidr_block | ✔️ | The value of an IP address or IP address range. |
enabled | ✔️ | Whether to enable the CIDR block.
|
comments | A human-readable message about your CIDR block. |
Attributes
There is no standard output for this resource. You can, however, add an output block to return your cidr_blocks
details.
Attribute | Description |
---|---|
actions | The operations you can perform on the CIDR list.
|
cidr_block | The value of an IP address or IP address range. |
cidr_block_id | The CIDR block's ID. |
comments | The human-readable details about your CIDR block. |
created_by | The user who created the CIDR block. |
created_date | The CIDR block's creation date in ISO 8601 format. |
modified_by | The user who last modified the CIDR block. |
modified_date | The CIDR block's modification date in ISO 8601 format. |
enabled | Whether the CIDR block is enabled.
|
Updated 3 months ago