Skip to content

Commit

Permalink
docs: Add outputs to Azure README (#81)
Browse files Browse the repository at this point in the history
* Add outputs to Azure README

* Update main README
  • Loading branch information
jiangpengcheng authored May 8, 2024
1 parent 8fec2fe commit a300c86
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,31 @@ module "sn-managed-cloud" {
module.azure-sn-cloud-manager
]
}
output "client_id" {
value = module.sn-managed-cloud.sn_automation_client_id
description = "The client ID of the sn automation service principal for StreamNative Cloud automation"
}
output "support_client_id" {
value = module.sn-managed-cloud.sn_support_client_id
description = "The client ID of the sn support service principal for StreamNative Cloud support access"
}
output "subscription_id" {
value = module.sn-managed-cloud.subscription_id
description = "The subscription ID of the AKS cluster"
}
output "tenant_id" {
value = module.sn-managed-cloud.tenant_id
description = "The tenant ID of the AKS cluster"
}
output "resource_group_name" {
value = module.sn-managed-cloud.resource_group_name
description = "The name of the resource group where the AKS cluster will be created"
}
```

## Examples
Expand Down
25 changes: 25 additions & 0 deletions modules/azure/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,31 @@ module "azure-managed-cloud" {
module.azure-sn-cloud-manager
]
}
output "client_id" {
value = module.azure-managed-cloud.sn_automation_client_id
description = "The client ID of the sn automation service principal for StreamNative Cloud automation"
}
output "support_client_id" {
value = module.azure-managed-cloud.sn_support_client_id
description = "The client ID of the sn support service principal for StreamNative Cloud support access"
}
output "subscription_id" {
value = module.azure-managed-cloud.subscription_id
description = "The subscription ID of the AKS cluster"
}
output "tenant_id" {
value = module.azure-managed-cloud.tenant_id
description = "The tenant ID of the AKS cluster"
}
output "resource_group_name" {
value = module.azure-managed-cloud.resource_group_name
description = "The name of the resource group where the AKS cluster will be created"
}
```

To run the example, execute the following commands:
Expand Down

0 comments on commit a300c86

Please sign in to comment.