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

infra: better default values #945

Merged
merged 1 commit into from
Oct 29, 2024
Merged
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
1 change: 1 addition & 0 deletions infra/azure-peerpods/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ resource "azurerm_kubernetes_cluster" "cluster" {
dns_prefix = "aks"
oidc_issuer_enabled = true
workload_identity_enabled = true
sku_tier = var.cluster_type

identity {
type = "SystemAssigned"
Expand Down
5 changes: 5 additions & 0 deletions infra/azure-peerpods/vars.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,8 @@ variable "subscription_id" {
variable "image_id" {
type = string
}

variable "cluster_type" {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cluster_sku_tier might be a better var name.

type = string
default = "Free"
}