Merge pull request #331 from andyaviles121/aistudiobasic

Basic AI Studio resource creation updates
This commit is contained in:
Steven 2024-07-10 14:04:06 -07:00 committed by GitHub
commit 62f77281a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 10 deletions

View File

@ -19,9 +19,10 @@ This configuration describes the minimal set of resources you require to get sta
| Name | Description | Default |
| ---- | ----------- | ------- |
| names | Prefix name for dependent resources. | myfirst |
| location | The Azure region used for deployments | East US |
| sku | The SKU for AI Services resources | S0
| `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 |
| `resource_group_location` | Location of the resource group. | eastus |
| `prefix` | This variable is used to name the hub, project, and dependent resources. | ai |
| `sku` | The SKU for AI Services resources | S0
## Usage
@ -32,7 +33,7 @@ terraform init
az login
terraform plan -var names="tftemplate" -out demo.tfplan
terraform plan -out demo.tfplan
terraform apply "demo.tfplan"
```

View File

@ -1,12 +1,8 @@
output "ResourceGroup" {
output "resource_group_name" {
value = azurerm_resource_group.rg.id
}
output "HubId" {
value = azapi_resource.hub.id
}
output "ProjectId" {
output "workspace_name" {
value = azapi_resource.project.id
}