Skip to content

Commit 02b53a9

Browse files
committed
Changed application_id to client_id
1 parent a0824bb commit 02b53a9

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
output "name" {
2-
value = module.azure_creds.name
2+
value = module.azure_cloud_credentials.name
33
description = "Created XC Cloud Credentials name"
44
}
55

66
output "namespace" {
7-
value = module.azure_creds.namespace
7+
value = module.azure_cloud_credentials.namespace
88
description = "The namespace in which the XC Cloud Credentials is created"
99
}
1010

1111
output "id" {
12-
value = module.azure_creds.id
12+
value = module.azure_cloud_credentials.id
1313
description = "ID of the created XC Cloud Credentials"
1414
}

examples/azure-existing-account/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ terraform {
1212
}
1313
azuread = {
1414
source = "hashicorp/azuread"
15-
version = ">=2.0"
15+
version = ">=2.44.0"
1616
}
1717
}
1818
}
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
11
output "azure_subscription_id" {
2-
value = module.azure_creds.azure_subscription_id
2+
value = module.azure_cloud_credentials.azure_subscription_id
33
description = "Azure Subscription ID"
44
}
55

66
output "azure_tenant_id" {
7-
value = module.azure_creds.azure_tenant_id
7+
value = module.azure_cloud_credentials.azure_tenant_id
88
description = "Azure Tenant ID"
99
}
1010

1111
output "azure_client_id" {
12-
value = module.azure_creds.azure_client_id
12+
value = module.azure_cloud_credentials.azure_client_id
1313
description = "Azure Service Principal Application ID"
1414
}
1515

1616
output "azure_client_secret" {
17-
value = module.azure_creds.azure_client_secret
17+
value = module.azure_cloud_credentials.azure_client_secret
1818
sensitive = true
1919
description = "Azure Service Principal Password"
2020
}
2121

2222
output "azure_role_definition_resource_id" {
23-
value = module.azure_creds.azure_role_definition_resource_id
23+
value = module.azure_cloud_credentials.azure_role_definition_resource_id
2424
description = "Azure Service Principal Password"
2525
}
2626

2727
output "azure_service_principal_id" {
28-
value = module.azure_creds.azure_service_principal_id
28+
value = module.azure_cloud_credentials.azure_service_principal_id
2929
description = "Azure Service Principal ID"
3030
}
3131

3232
output "name" {
33-
value = module.azure_creds.name
33+
value = module.azure_cloud_credentials.name
3434
description = "Created XC Cloud Credentials name"
3535
}
3636

3737
output "namespace" {
38-
value = module.azure_creds.namespace
38+
value = module.azure_cloud_credentials.namespace
3939
description = "The namespace in which the XC Cloud Credentials is created"
4040
}
4141

4242
output "id" {
43-
value = module.azure_creds.id
43+
value = module.azure_cloud_credentials.id
4444
description = "ID of the created XC Cloud Credentials"
4545
}

examples/azure-new-account/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ terraform {
1212
}
1313
azuread = {
1414
source = "hashicorp/azuread"
15-
version = ">=2.0"
15+
version = ">=2.44.0"
1616
}
1717
}
1818
}

main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ resource "azuread_application" "this" {
8080
}
8181

8282
resource "azuread_service_principal" "this" {
83-
count = local.create_sa ? 1 : 0
83+
count = local.create_sa ? 1 : 0
8484

85-
application_id = azuread_application.this[0].client_id
85+
client_id = azuread_application.this[0].client_id
8686
owners = [
8787
data.azuread_client_config.current.object_id,
8888
]
@@ -108,7 +108,7 @@ resource "volterra_cloud_credentials" "this" {
108108
name = var.name
109109
namespace = "system"
110110
azure_client_secret {
111-
client_id = local.create_sa ? azuread_application.this[0].application_id : var.azure_client_id
111+
client_id = local.create_sa ? azuread_application.this[0].client_id : var.azure_client_id
112112
client_secret {
113113
clear_secret_info {
114114
url = "string:///${base64encode(local.create_sa ? azuread_service_principal_password.this[0].value : var.azure_client_secret)}"

outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ output "azure_tenant_id" {
99
}
1010

1111
output "azure_client_id" {
12-
value = local.create_sa ? azuread_application.this[0].application_id : var.azure_client_id
12+
value = local.create_sa ? azuread_application.this[0].client_id : var.azure_client_id
1313
description = "Azure Service Principal Application ID"
1414
}
1515

0 commit comments

Comments
 (0)