Skip to content

Commit

Permalink
Merge pull request #2329 from zaidmohd/k8s-securestring2
Browse files Browse the repository at this point in the history
Azure Arc-enabled Kubernetes - changed secure string variable type
  • Loading branch information
dkirby-ms authored Dec 18, 2023
2 parents d1914c0 + 0aaf3f3 commit 403f5d2
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions azure_arc_k8s_jumpstart/aks_iot_edge/terraform/variable.tf
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ variable "rbac_aad_server_app_secret" {
type = string
description = "(Optional) The Server Secret of an Azure Active Directory Application. Changing this forces a new resource to be created."
default = null
sensitive = true
}

variable "rbac_aad_tenant_id" {
Expand Down Expand Up @@ -422,6 +423,7 @@ variable "user-name-vm" {
variable "user-password-vm" {
description = "(Required) Password of Virtual Machine"
default="Password1234!"
sensitive = true
}

variable "password_authentication-vm" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ variable "ecs_password" {
description = "The password of worker nodes."
type = string
default = "Abc12345"
sensitive = true
}

variable "worker_number" {
Expand Down
1 change: 1 addition & 0 deletions azure_arc_k8s_jumpstart/eks/terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ variable "AWS_ACCESS_KEY_ID" {
variable "AWS_SECRET_ACCESS_KEY" {
description = "Your AWS Secret Key"
type = string
sensitive = true
}

variable "AWS_REGION" {
Expand Down
2 changes: 2 additions & 0 deletions azure_arc_k8s_jumpstart/gke/terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ variable "servicePrincipalAppId" {
variable "servicePrincipalSecret" {
description = "Azure service principal App Password"
type = string
sensitive = true
}

variable "servicePrincipalTenantId" {
Expand Down Expand Up @@ -61,6 +62,7 @@ variable "admin_username" {
variable "admin_password" {
description = "GKE control plane administrator username"
type = string
sensitive = true
}

variable "gke_cluster_node_count" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
}
},
"password": {
"type": "string",
"type": "securestring",
"metadata": {
"description": "Unique SPN password"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ variable "client_id" {
}

variable "client_secret" {
sensitive = true
}

variable "tenant_id" {
Expand All @@ -23,6 +24,7 @@ variable "vsphere_user" {
}

variable "vsphere_password" {
sensitive = true
}

variable "vsphere_server" {
Expand Down Expand Up @@ -115,4 +117,5 @@ variable "vm_dns" {
variable "admin_user" {
}
variable "admin_password" {
sensitive = true
}

0 comments on commit 403f5d2

Please sign in to comment.