Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(azure-aks): test resource tagging #121

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
104 changes: 52 additions & 52 deletions azure-aks/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions azure-aks/sandbox.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module "sandbox" {
source = "nuonco/aks-sandbox/azure"
version = "1.3.12"
#source = "nuonco/aks-sandbox/azure"
#version = "1.3.12"
source = "github.com/nuonco/terraform-azure-aks-sandbox?ref=ja%2F6033-add-tag-policy"

location = var.location
nuon_id = var.nuon_id
Expand All @@ -9,4 +10,5 @@ module "sandbox" {
cluster_version = var.cluster_version
vm_size = var.vm_size
node_count = var.node_count
tags = var.tags
}
6 changes: 6 additions & 0 deletions azure-aks/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,9 @@ variable "node_count" {
default = 2
description = "The minimum number of nodes in the managed node pool."
}

variable "tags" {
type = string
default = "{}"
description = "Tags to add to all resources."
}
Loading