EdgeWorker
akamai_edgeworker
Get details about a given EdgeWorker.
data "akamai_edgeworker" "my_edgeworker" {
edgeworker_id = 12345
}
output "my_edgeworker" {
value = data.akamai_edgeworker.my_edgeworker
}
Changes to Outputs:
+ my_edgeworker = {
+ edgeworker_id = 12345
+ group_id = "12345"
+ id = "12345"
+ local_bundle = "default_name.tgz"
+ local_bundle_hash = "exampleba1ca447bdfebf06dee5be85eb17745b9f5dd6c718a3020409a5848f3"
+ name = "My_edgeworker"
+ resource_tier_id = 100
+ version = "0.2"
+ warnings = []
}
Arguments
Pass your EdgeWorker ID in the body of the data
block. Optionally, you can pass a path to the location you want to store the code bundle associated with your EdgeWorker. If not passed, the bundle is placed at your current location.
Argument | Required | Description |
---|---|---|
edgeworker_id | ✔️ | The unique identifier of the EdgeWorker. |
local_bundle | The path at which to store the EdgeWorkers .tgz code bundle. |
Attributes
Returned to you are the high-level details of your EdgeWorker. Also returned and not in this list is the code bundle associated with your EdgeWorker placed at the query's given location or your current location.
Attribute | Description |
---|---|
name | The EdgeWorker's name. |
group_id | The group association for the EdgeWorker. |
resource_tier_id | The resource tier identifier. |
local_bundle_hash | The local bundle hash for the EdgeWorker. It's used to identify content changes for the bundle. |
version | The bundle's version. |
warnings | The list of warnings returned by EdgeWorker validation. |
Updated 10 months ago