InfoGrab Docs

teleport_installer Terraform 리소스 참조

이 페이지는 Teleport Terraform 프로바이더의 teleport_installer 리소스에서 지원되는 값을 설명합니다.

사용 예시#

# Teleport Installer resource

resource "teleport_installer" "example" {
  version = "v1"
  metadata = {
    name        = "example"
    description = "Example Teleport Installer"
    labels = {
      example = "yes"
    }
  }

  spec = {
    # This "custom" script is actually the default installer script ($ tctl get installer/default-installer).
    # Edit it to customize the commands that the Teleport Discovery Service
    # configures virtual machines to run to install Teleport on startup.
    script = <

스키마#

필수#

  • spec (속성) Spec은 리소스 스펙입니다. (아래 중첩 스키마 참조)
  • version (문자열) Version은 리소스 버전입니다.

선택#

  • metadata (속성) Metadata는 리소스 메타데이터입니다. (아래 중첩 스키마 참조)
  • sub_kind (문자열) SubKind는 선택적 리소스 하위 종류입니다. 현재 이 리소스에는 사용되지 않습니다.

spec에 대한 중첩 스키마#

필수:

  • script (문자열) Script는 인스톨러 셸 스크립트의 내용을 나타냅니다.

metadata에 대한 중첩 스키마#

필수:

  • name (문자열) Name은 객체 이름입니다.

선택:

  • description (문자열) Description은 객체 설명입니다.
  • expires (문자열) Expires는 시스템의 모든 리소스에 설정할 수 있는 전역 만료 시간 헤더입니다.
  • labels (문자열 맵) Labels는 레이블 세트입니다.

teleport_installer Terraform 리소스 참조

원문 보기

이 페이지는 Teleport Terraform 프로바이더의 teleport_installer 리소스에서 지원되는 값을 설명합니다.

사용 예시#

# Teleport Installer resource

resource "teleport_installer" "example" {
  version = "v1"
  metadata = {
    name        = "example"
    description = "Example Teleport Installer"
    labels = {
      example = "yes"
    }
  }

  spec = {
    # This "custom" script is actually the default installer script ($ tctl get installer/default-installer).
    # Edit it to customize the commands that the Teleport Discovery Service
    # configures virtual machines to run to install Teleport on startup.
    script = <

스키마#

필수#

  • spec (속성) Spec은 리소스 스펙입니다. (아래 중첩 스키마 참조)
  • version (문자열) Version은 리소스 버전입니다.

선택#

  • metadata (속성) Metadata는 리소스 메타데이터입니다. (아래 중첩 스키마 참조)
  • sub_kind (문자열) SubKind는 선택적 리소스 하위 종류입니다. 현재 이 리소스에는 사용되지 않습니다.

spec에 대한 중첩 스키마#

필수:

  • script (문자열) Script는 인스톨러 셸 스크립트의 내용을 나타냅니다.

metadata에 대한 중첩 스키마#

필수:

  • name (문자열) Name은 객체 이름입니다.

선택:

  • description (문자열) Description은 객체 설명입니다.
  • expires (문자열) Expires는 시스템의 모든 리소스에 설정할 수 있는 전역 만료 시간 헤더입니다.
  • labels (문자열 맵) Labels는 레이블 세트입니다.