Provides a Datadog OpenAPI resource. This can be used to synchronize Datadog's API catalog with an OpenAPI specifications file.
# Uploads an OpenAPI file from the given local path to Datadog's API catalog
resource "datadog_openapi_api" "my-api" {
spec = file("./path/my-api.yaml")
}
spec
(String) The textual content of the OpenAPI specification. Use file()
in order to reference another file in the repository (see exmaple).id
(String) The API ID of this resource in Datadog.Import is supported using the following syntax:
terraform import datadog_openapi_api.new_list "90646597-5fdb-4a17-a240-647003f8c028"