Skip to content

Commit 2d51e6e

Browse files
committed
chore: change var to replicator_subject
chore: adding var for namespace
1 parent 4ecff37 commit 2d51e6e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
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, 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, replicator_subject = string })` | `null` | no |
101101

102102
## Outputs
103103

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module "replicator_service_principal" {
1313
create_password = var.create_password
1414
workload_identity_federation = var.workload_identity_federation == null ? null : {
1515
issuer = var.workload_identity_federation.issuer,
16-
subject = var.workload_identity_federation.subject
16+
subject = var.workload_identity_federation.replicator_subject
1717
}
1818
application_owners = var.application_owners
1919
}

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, subject = string })
57+
type = object({ issuer = string, replicator_subject = string })
5858
}
5959

6060
variable "application_owners" {

0 commit comments

Comments
 (0)