Skip to content

Commit

Permalink
add and use aso_assigned_identity_client_id output
Browse files Browse the repository at this point in the history
  • Loading branch information
maciaszczykm committed Oct 5, 2023
1 parent 3f22e89 commit 56dcdcf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions bootstrap/helm/cluster-api-provider-azure/values.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ cluster-api-provider-azure:
asoControllerSettings:
azureSubscriptionId: {{ .Context.SubscriptionId }}
azureTenantId: {{ .Context.TenantId }}
azureClientId: {{ importValue "Terraform" "aso_assigned_identity_client_id" }}
1 change: 1 addition & 0 deletions bootstrap/terraform/azure-bootstrap/deps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ spec:
kubelet_msi_id: kubelet_msi_id
node_resource_group: node_resource_group
capz_assigned_identity_client_id: capz_assigned_identity_client_id
aso_assigned_identity_client_id: aso_assigned_identity_client_id
provider_wirings:
cluster: module.azure-bootstrap.cluster
provider_vsn: "0.1.4"
4 changes: 4 additions & 0 deletions bootstrap/terraform/azure-bootstrap/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,7 @@ output "network" {
output "capz_assigned_identity_client_id" {
value = azurerm_user_assigned_identity.capz.client_id
}

output "aso_assigned_identity_client_id" {
value = azurerm_user_assigned_identity.aso.client_id
}

0 comments on commit 56dcdcf

Please sign in to comment.