Provides a Datadog synthetics private location resource. This can be used to create and manage Datadog synthetics private locations.
resource "datadog_synthetics_private_location" "private_location" {
name = "First private location"
description = "Description of the private location"
tags = ["foo:bar", "env:test"]
}
name
(String) Synthetics private location name.description
(String) Description of the private location.metadata
(Block List, Max: 1) The private location metadata (see below for nested schema)tags
(List of String) A list of tags to associate with your synthetics private location.config
(String, Sensitive) Configuration skeleton for the private location. See installation instructions of the private location on how to use this configuration.id
(String) The ID of this resource.metadata
Optional:
restricted_roles
(Set of String) A list of role identifiers pulled from the Roles API to restrict read and write access.Import is supported using the following syntax:
# Synthetics private locations can be imported using their string ID, e.g.
terraform import datadog_synthetics_private_location.bar pl:private-location-name-abcdef123456