Resource operations

📘

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

Update or delete your API's resources. To delete a resource, run terraform destroy.

resource "akamai_apidefinitions_resource_operations" "my_operations" {
  api_id = 123456
  resource_operations = file("${path.module}/resource-spec.json")
}
my_operations = {
  "api_id" = 123456
  "resource_operations" = <<-EOT
  {
    "operations": {
      "/test": {
        "testPurpose": {
          "method": "GET",
          "purpose": "SEARCH"
        }
      }
    }
  }
  EOT
  "version" = 3
}

Arguments

ArgumentRequiredDescription
api✔️Your API ID.
resource_operationsThe full or relative path to a JSON-formatted operations object.

Attributes

There is no standard output for this resource. Changes are reflected in your state file and vary depending on the information you sent.