GuideReference
TrainingSupportCommunity

Property rules

akamai_edgeworkers_property_rules

Get the property rule that enables your EdgeWorker. Information returned lets you know what property rule to review or edit.

data "akamai_edgeworkers_property_rules" "my_property_rules" {
  edgeworker_id = 12345
}

output "my_property_rules" {
  value = data.akamai_edgeworkers_property_rules.my_property_rules
}
Changes to Outputs:
  + my_property_rules = {
      + edgeworker_id = 12345
      + id            = "12345"
      + json          = jsonencode(
            {
              + name    = "edgeWorker"
              + options = {
                  + edgeWorkerId = "12345"
                  + enabled      = true
                }
            }
        )
    }

Argument

Pass your EdgeWorker ID in the data block.

Attributes

Returned to you is a json set that contains the property rule name that enables your EdgeWorker.