upgraded module
This commit is contained in:
parent
92985e06d8
commit
22ebef594d
23
plaap/plaap.tf
Normal file
23
plaap/plaap.tf
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
module "datadog-users" {
|
||||||
|
source = "git::git@github.com:webuildyourcloud/terraform-datadog-users.git"
|
||||||
|
|
||||||
|
users = [
|
||||||
|
{
|
||||||
|
name = "user1"
|
||||||
|
handle = "user1@example.com"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name = "admin1"
|
||||||
|
handle = "admin1@example.com"
|
||||||
|
admin = "true"
|
||||||
|
disabled = "false"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name = "dis1"
|
||||||
|
handle = "dis1@example.com"
|
||||||
|
email = "disy1@example.com"
|
||||||
|
disabled = "true"
|
||||||
|
role = "ro"
|
||||||
|
},
|
||||||
|
]
|
||||||
|
}
|
||||||
43
plaap/variables.tf
Normal file
43
plaap/variables.tf
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
variable "enabled" {
|
||||||
|
description = "Set to false to prevent the module from creating anything"
|
||||||
|
default = true
|
||||||
|
}
|
||||||
|
|
||||||
|
variable "users" {
|
||||||
|
description = "List of Datadog user maps to manage"
|
||||||
|
type = list(string)
|
||||||
|
}
|
||||||
|
|
||||||
|
variable "datadog_api_key" {
|
||||||
|
description = "The datadog API key"
|
||||||
|
type = string
|
||||||
|
}
|
||||||
|
|
||||||
|
variable "datadog_app_key" {
|
||||||
|
description = "The datadog APP key"
|
||||||
|
type = string
|
||||||
|
}
|
||||||
|
|
||||||
|
#variable "api_url" {
|
||||||
|
# description = "Which API to Connect to, we are using the EU one for GDPR compliance"
|
||||||
|
# type = string
|
||||||
|
# default = "https://api.datadoghq.eu"
|
||||||
|
#}
|
||||||
|
#
|
||||||
|
#variable "http_client_retry_enabled" {
|
||||||
|
# description = "Enables Request retries on HTTP status codes 429 and 5xx"
|
||||||
|
# type = bool
|
||||||
|
# default = true
|
||||||
|
#}
|
||||||
|
#
|
||||||
|
#variable "http_client_retry_timeout" {
|
||||||
|
# description = "Sets the number of HTTP request retry timeout period"
|
||||||
|
# type = string
|
||||||
|
# default = ""
|
||||||
|
#}
|
||||||
|
#
|
||||||
|
#variable "validate" {
|
||||||
|
# description = "Validates the provided APP and API keys during provider initialization"
|
||||||
|
# type = bool
|
||||||
|
# default = true
|
||||||
|
#}
|
||||||
3
plaap/versions.tf
Normal file
3
plaap/versions.tf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
terraform {
|
||||||
|
required_version = ">= 0.13"
|
||||||
|
}
|
||||||
3
versions.tf
Normal file
3
versions.tf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
terraform {
|
||||||
|
required_version = ">= 0.13"
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user