back
terraform {
required_providers {
launchdarkly = ">= 1.5.1"
}
}
top
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
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 "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
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