Provides an Amazon Managed Prometheus workspace data source.
data "aws_prometheus_workspace" "example" {
workspace_id = "ws-41det8a1-2c67-6a1a-9381-9b83d3d78ef7"
}
The following arguments are required:
workspace_id
- (Required) Prometheus workspace ID.This data source exports the following attributes in addition to the arguments above:
arn
- ARN of the Prometheus workspace.created_date
- Creation date of the Prometheus workspace.prometheus_endpoint
- Endpoint of the Prometheus workspace.alias
- Prometheus workspace alias.kms_key_arn
- ARN of the KMS key used to encrypt data in the Prometheus workspace.status
- Status of the Prometheus workspace.tags
- Tags assigned to the resource.