Skip to content

Latest commit

 

History

History
117 lines (92 loc) · 2.01 KB

launchdarkly_team_member.md

File metadata and controls

117 lines (92 loc) · 2.01 KB

launchdarkly_team_member

back

Index

Terraform

terraform {
  required_providers {
    launchdarkly = ">= 1.5.1"
  }
}

top

Example Usage

module "launchdarkly_team_member" {
  source = "./modules/launchdarkly/r/launchdarkly_team_member"

  # custom_roles - (optional) is a type of set of string
  custom_roles = []
  # email - (required) is a type of string
  email = null
  # first_name - (optional) is a type of string
  first_name = null
  # last_name - (optional) is a type of string
  last_name = null
  # role - (optional) is a type of string
  role = null
}

top

Variables

variable "custom_roles" {
  description = "(optional)"
  type        = set(string)
  default     = null
}

variable "email" {
  description = "(required)"
  type        = string
}

variable "first_name" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "last_name" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "role" {
  description = "(optional)"
  type        = string
  default     = null
}

top

Resource

resource "launchdarkly_team_member" "this" {
  # custom_roles - (optional) is a type of set of string
  custom_roles = var.custom_roles
  # email - (required) is a type of string
  email = var.email
  # first_name - (optional) is a type of string
  first_name = var.first_name
  # last_name - (optional) is a type of string
  last_name = var.last_name
  # role - (optional) is a type of string
  role = var.role
}

top

Outputs

output "id" {
  description = "returns a string"
  value       = launchdarkly_team_member.this.id
}

output "role" {
  description = "returns a string"
  value       = launchdarkly_team_member.this.role
}

output "this" {
  value = launchdarkly_team_member.this
}

top