updated outputs and variables used
This commit is contained in:
parent
b54a5ae10f
commit
29e0406146
@ -19,9 +19,10 @@ This configuration describes the minimal set of resources you require to get sta
|
|||||||
|
|
||||||
| Name | Description | Default |
|
| Name | Description | Default |
|
||||||
| ---- | ----------- | ------- |
|
| ---- | ----------- | ------- |
|
||||||
| names | Prefix name for dependent resources. | myfirst |
|
| `resource_group_name_prefix` | Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription. | rg |
|
||||||
| location | The Azure region used for deployments | East US |
|
| `resource_group_location` | Location of the resource group. | eastus |
|
||||||
| sku | The SKU for AI Services resources | S0
|
| `prefix` | This variable is used to name the hub, project, and dependent resources. | ai |
|
||||||
|
| `sku` | The SKU for AI Services resources | S0
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
@ -32,7 +33,7 @@ terraform init
|
|||||||
|
|
||||||
az login
|
az login
|
||||||
|
|
||||||
terraform plan -var names="tftemplate" -out demo.tfplan
|
terraform plan -out demo.tfplan
|
||||||
|
|
||||||
terraform apply "demo.tfplan"
|
terraform apply "demo.tfplan"
|
||||||
```
|
```
|
||||||
|
@ -1,12 +1,8 @@
|
|||||||
output "ResourceGroup" {
|
output "resource_group_name" {
|
||||||
value = azurerm_resource_group.rg.id
|
value = azurerm_resource_group.rg.id
|
||||||
}
|
}
|
||||||
|
|
||||||
output "HubId" {
|
output "workspace_name" {
|
||||||
value = azapi_resource.hub.id
|
|
||||||
}
|
|
||||||
|
|
||||||
output "ProjectId" {
|
|
||||||
value = azapi_resource.project.id
|
value = azapi_resource.project.id
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user