mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 04:40:05 +01:00
feat: add labels to terraform provider
This commit is contained in:
@@ -19,5 +19,4 @@ ssh_keys = {
|
||||
download_part = "both"
|
||||
download_dir = "out/clusterKey"
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -28,3 +28,4 @@ variable "ssh_keys" {
|
||||
download_dir = optional(string, "out")
|
||||
}))
|
||||
}
|
||||
|
||||
|
||||
4
terraform/modules/taints/main.tf
Normal file
4
terraform/modules/taints/main.tf
Normal file
@@ -0,0 +1,4 @@
|
||||
resource "autoglue_taints" "this" {
|
||||
key = var.key
|
||||
|
||||
}
|
||||
4
terraform/modules/taints/outputs.tf
Normal file
4
terraform/modules/taints/outputs.tf
Normal file
@@ -0,0 +1,4 @@
|
||||
output "ids" {
|
||||
description = "Map of taint IDs by key."
|
||||
value = { for k, r in autoglue_taint.this : k => r.id }
|
||||
}
|
||||
11
terraform/modules/taints/variables.tf
Normal file
11
terraform/modules/taints/variables.tf
Normal file
@@ -0,0 +1,11 @@
|
||||
variable "key" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "value" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "effect" {
|
||||
type = string
|
||||
}
|
||||
9
terraform/modules/taints/versions.tf
Normal file
9
terraform/modules/taints/versions.tf
Normal file
@@ -0,0 +1,9 @@
|
||||
terraform {
|
||||
required_version = ">= 1.5.0"
|
||||
|
||||
required_providers {
|
||||
autoglue = {
|
||||
source = "glueops/autoglue/autoglue"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user