Skip to content

Commit 88fc6ed

Browse files
committed
chore: change replicator to access
chore: adding default value for scp deployment
1 parent be85820 commit 88fc6ed

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ After applying the configuration, you can retrieve the following outputs using `
9797
| <a name="input_replicator_enabled"></a> [replicator\_enabled](#input\_replicator\_enabled) | n/a | `bool` | `true` | no |
9898
| <a name="input_scope"></a> [scope](#input\_scope) | The scope of the service principal. The scope is usually the id of the aks subscription | `string` | n/a | yes |
9999
| <a name="input_service_principal_name"></a> [service\_principal\_name](#input\_service\_principal\_name) | Display name of the replicator service principal. | `string` | n/a | yes |
100-
| <a name="input_workload_identity_federation"></a> [workload\_identity\_federation](#input\_workload\_identity\_federation) | Enable workload identity federation instead of using a password by providing these additional settings. Usually you should receive the required settings when attempting to configure a platform with workload identity federation in meshStack. | `object({ issuer = string, replicator_subject = string })` | `null` | no |
100+
| <a name="input_workload_identity_federation"></a> [workload\_identity\_federation](#input\_workload\_identity\_federation) | Enable workload identity federation instead of using a password by providing these additional settings. Usually you should receive the required settings when attempting to configure a platform with workload identity federation in meshStack. | `object({ issuer = string, access_subject = string })` | `null` | no |
101101

102102
## Outputs
103103

main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ module "replicator_service_principal" {
1212
service_principal_name = var.service_principal_name
1313
create_password = var.create_password
1414
workload_identity_federation = var.workload_identity_federation == null ? null : {
15-
issuer = var.workload_identity_federation.issuer,
16-
replicator_subject = var.workload_identity_federation.replicator_subject
15+
issuer = var.workload_identity_federation.issuer,
16+
access_subject = var.workload_identity_federation.access_subject
1717
}
1818
application_owners = var.application_owners
1919
}

modules/meshcloud-replicator-service-principal/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ No modules.
3434
| <a name="input_create_password"></a> [create\_password](#input\_create\_password) | Create a password for the enterprise application. | `bool` | n/a | yes |
3535
| <a name="input_scope"></a> [scope](#input\_scope) | The scope of the service principal. The scope is usually the id of the aks subscription | `string` | n/a | yes |
3636
| <a name="input_service_principal_name"></a> [service\_principal\_name](#input\_service\_principal\_name) | Display name of the replicator service principal. | `string` | `null` | no |
37-
| <a name="input_workload_identity_federation"></a> [workload\_identity\_federation](#input\_workload\_identity\_federation) | Enable workload identity federation instead of using a password by providing these additional settings. Usually you should receive the required settings when attempting to configure a platform with workload identity federation in meshStack. | `object({ issuer = string, replicator_subject = string })` | `null` | no |
37+
| <a name="input_workload_identity_federation"></a> [workload\_identity\_federation](#input\_workload\_identity\_federation) | Enable workload identity federation instead of using a password by providing these additional settings. Usually you should receive the required settings when attempting to configure a platform with workload identity federation in meshStack. | `object({ issuer = string, access_subject = string })` | `null` | no |
3838

3939
## Outputs
4040

modules/meshcloud-replicator-service-principal/auth.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ resource "azuread_application_federated_identity_credential" "meshcloud_replicat
3636
display_name = var.service_principal_name
3737
audiences = ["api://AzureADTokenExchange"]
3838
issuer = var.workload_identity_federation.issuer
39-
subject = var.workload_identity_federation.replicator_subject
39+
subject = var.workload_identity_federation.access_subject
4040
}

modules/meshcloud-replicator-service-principal/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ variable "create_password" {
1212
variable "workload_identity_federation" {
1313
default = null
1414
description = "Enable workload identity federation instead of using a password by providing these additional settings. Usually you should receive the required settings when attempting to configure a platform with workload identity federation in meshStack."
15-
type = object({ issuer = string, replicator_subject = string })
15+
type = object({ issuer = string, access_subject = string })
1616
}
1717

1818
variable "application_owners" {

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ variable "create_password" {
5454
variable "workload_identity_federation" {
5555
default = null
5656
description = "Enable workload identity federation instead of using a password by providing these additional settings. Usually you should receive the required settings when attempting to configure a platform with workload identity federation in meshStack."
57-
type = object({ issuer = string, replicator_subject = string })
57+
type = object({ issuer = string, access_subject = string })
5858
}
5959

6060
variable "application_owners" {

0 commit comments

Comments
 (0)