Skip to main content

Reference for the teleport_client_ip_restriction Terraform data-source

Report an IssueView as Markdown

This page describes the supported values of the teleport_client_ip_restriction data source of the Teleport Terraform provider.

Schema

Optional

  • metadata (Attributes) Metadata about the client IP restrictions. (see below for nested schema)
  • spec (Attributes) User-configurable parts of the resource settings. (see below for nested schema)
  • status (Attributes) User-immutable status of the ClientIPRestriction and its supporting resources. (see below for nested schema)
  • sub_kind (String) The sub_kind of the resource. Always "".
  • version (String) The version of the resource. Always "v1".

Nested Schema for metadata

Optional:

  • description (String) description is object description.
  • expires (String) expires is a global expiry time header can be set on any resource in the system.
  • labels (Map of String) labels is a set of labels.
  • name (String) name is an object name.

Nested Schema for spec

Optional:

  • allowed_cidrs (List of String) allowed_cidrs is the list of CIDR blocks permitted to connect to the cluster. An empty list disables restrictions and allows all traffic.

Nested Schema for status

Optional:

  • state (String) state is the current enforcement state of the restrictions at the ingress layer. Possible values: "pending", "active".