Skip to content

Commit

Permalink
docs: update readme (#66)
Browse files Browse the repository at this point in the history
* Update README for Azure

* Update README for Azure
  • Loading branch information
jiangpengcheng authored Feb 6, 2024
1 parent 0cf2891 commit b9e1f11
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,21 +64,26 @@ provider "azurerm" {
provider "azuread" {}
module "azure_sn_cloud_manager" {
module "azure-sn-cloud-manager" {
source = "github.com/streamnative/terraform-managed-cloud//modules/azure/sn-cloud-manager?ref=<LATEST_GIT_TAG>"
resource_group_location = "<RESOURCE_GROUP_LOCATION>"
streamnative_org_id = "<YOUR_SNCLOUD_ORG_ID>"
}
module "sn_managed_cloud" {
module "sn-managed-cloud" {
source = "github.com/streamnative/terraform-managed-cloud//modules/azure/vendor-access?ref=<LATEST_GIT_TAG>"
resource_group_name = "<RESOURCE_GROUP_NAME>"
resource_group_location = "<RESOURCE_GROUP_LOCATION>"
streamnative_org_id = "<YOUR_SNCLOUD_ORG_ID>"
sn_automation_principal_id = module.azure-sn-cloud-manager.sn_automation_principal_id
sn_support_principal_id = module.azure-sn-cloud-manager.sn_support_principal_id
sn_automation_client_id = module.azure-sn-cloud-manager.sn_automation_client_id
sn_support_client_id = module.azure-sn-cloud-manager.sn_support_client_id
depends_on = [
module.azure-sn-cloud-manager
]
Expand Down
16 changes: 14 additions & 2 deletions modules/azure/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ provider "azuread" {}
module "azure-sn-cloud-manager" {
source = "github.com/streamnative/terraform-managed-cloud//modules/azure/sn-cloud-manager?ref=master"
streamnative_cloud_env = "test" # or staging, production
resource_group_location = "westus2"
streamnative_org_id = "o-12345"
}
Expand All @@ -69,6 +70,11 @@ module "azure-managed-cloud" {
resource_group_location = "westus2"
streamnative_org_id = "o-12345"
sn_automation_principal_id = xxxx
sn_support_principal_id = xxxx
sn_automation_client_id = xxxx
sn_support_client_id = xxxx
}
```

Expand All @@ -86,20 +92,26 @@ provider "azurerm" {
provider "azuread" {}
module "azure-sn-cloud-manager" {
source = "github.com/streamnative/terraform-managed-cloud//modules/azure/sn-cloud-manager?ref=master"
source = "github.com/streamnative/terraform-managed-cloud//modules/azure/sn-cloud-manager?ref=main"
streamnative_cloud_env = "test" # or staging, production
resource_group_location = "westus2"
streamnative_org_id = "o-12345"
}
module "azure-managed-cloud" {
source = "github.com/streamnative/terraform-managed-cloud//modules/azure/vendor-access?ref=master"
source = "github.com/streamnative/terraform-managed-cloud//modules/azure/vendor-access?ref=main"
resource_group_name = "azure-westus2-aks-test"
resource_group_location = "westus2"
streamnative_org_id = "o-12345"
sn_automation_principal_id = module.azure-sn-cloud-manager.sn_automation_principal_id
sn_support_principal_id = module.azure-sn-cloud-manager.sn_support_principal_id
sn_automation_client_id = module.azure-sn-cloud-manager.sn_automation_client_id
sn_support_client_id = module.azure-sn-cloud-manager.sn_support_client_id
depends_on = [
module.azure-sn-cloud-manager
]
Expand Down

0 comments on commit b9e1f11

Please sign in to comment.