-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tf
46 lines (43 loc) · 1.38 KB
/
main.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# __generated__ by Terraform from "/subscriptions/6e4d4d41-20a6-4801-8eec-c769d870e333/resourceGroups/tfstate"
resource "azapi_resource" "qs101" {
body = "{\"properties\":{}}"
ignore_casing = false
ignore_missing_property = true
location = "eastus"
locks = null
name = "tfstate"
parent_id = "/subscriptions/6e4d4d41-20a6-4801-8eec-c769d870e333"
removing_special_chars = false
response_export_values = null
schema_validation_enabled = true
tags = {}
type = "Microsoft.Resources/resourceGroups@2022-09-01"
timeouts {
create = null
delete = null
read = null
update = null
}
}
# Provision a Lab Service Account and a Lab that are in public preview
resource "azapi_resource" "qs101-account" {
type = "Microsoft.LabServices/labaccounts@2018-10-15"
name = "qs101LabAccount"
parent_id = azapi_resource.qs101.id
body = jsonencode({
properties = {
enabledRegionSelection = false
}
})
}
resource "azapi_resource" "qs101-lab" {
type = "Microsoft.LabServices/labaccounts/labs@2018-10-15"
name = "qs101Lab"
parent_id = azapi_resource.qs101-account.id
body = jsonencode({
properties = {
maxUsersInLab = 10
userAccessMode = "Restricted"
}
})
}