Skip to content

Commit

Permalink
Update provider schema (#4)
Browse files Browse the repository at this point in the history
* PROVIDER_VERSION=v3.10.0  make gen

* PROVIDER_VERSION=v3.11.0  make gen

* Update README
  • Loading branch information
koudaiii authored Jun 25, 2022
1 parent 7751453 commit 50168c8
Show file tree
Hide file tree
Showing 2 changed files with 186 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Currently to generate the state, the tool supports *full mode* (with `-full`) or
|Name|Version|
|-|-|
|registry.terraform.io/hashicorp/aws|v4.17.1|
|registry.terraform.io/hashicorp/azurerm|v3.9.0|
|registry.terraform.io/hashicorp/azurerm|v3.11.0|
|registry.terraform.io/hashicorp/google|v4.23.0|

## Usage
Expand Down
189 changes: 185 additions & 4 deletions providers/azurerm/provider_gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -7013,7 +7013,8 @@ func init() {
},
"request_timeout": {
"type": "number",
"optional": true
"optional": true,
"default": 30
},
"trusted_root_certificate_names": {
"type": [
Expand Down Expand Up @@ -7475,7 +7476,7 @@ func init() {
},
"priority": {
"type": "number",
"optional": true
"required": true
},
"redirect_configuration_id": {
"type": "string",
Expand Down Expand Up @@ -10998,6 +10999,81 @@ func init() {
}
}
},
"azurerm_capacity_reservation": {
"block": {
"attributes": {
"capacity_reservation_group_id": {
"type": "string",
"required": true
},
"name": {
"type": "string",
"required": true
},
"tags": {
"type": [
"map",
"string"
],
"optional": true
},
"zone": {
"type": "string",
"optional": true
}
},
"block_types": {
"sku": {
"nesting_mode": 3,
"block": {
"attributes": {
"capacity": {
"type": "number",
"required": true
},
"name": {
"type": "string",
"required": true
}
}
},
"required": true
}
}
}
},
"azurerm_capacity_reservation_group": {
"block": {
"attributes": {
"location": {
"type": "string",
"required": true
},
"name": {
"type": "string",
"required": true
},
"resource_group_name": {
"type": "string",
"required": true
},
"tags": {
"type": [
"map",
"string"
],
"optional": true
},
"zones": {
"type": [
"set",
"string"
],
"optional": true
}
}
}
},
"azurerm_cdn_endpoint": {
"block": {
"attributes": {
Expand Down Expand Up @@ -11948,6 +12024,20 @@ func init() {
}
}
},
"azurerm_cdn_frontdoor_rule_set": {
"block": {
"attributes": {
"cdn_frontdoor_profile_id": {
"type": "string",
"required": true
},
"name": {
"type": "string",
"required": true
}
}
}
},
"azurerm_cdn_profile": {
"block": {
"attributes": {
Expand Down Expand Up @@ -14767,6 +14857,18 @@ func init() {
"azurerm_cosmosdb_cassandra_cluster": {
"block": {
"attributes": {
"authentication_method": {
"type": "string",
"optional": true,
"default": "Cassandra"
},
"client_certificate_pems": {
"type": [
"list",
"string"
],
"optional": true
},
"default_admin_password": {
"type": "string",
"required": true
Expand All @@ -14775,6 +14877,20 @@ func init() {
"type": "string",
"required": true
},
"external_gossip_certificate_pems": {
"type": [
"list",
"string"
],
"optional": true
},
"external_seed_node_ip_addresses": {
"type": [
"list",
"string"
],
"optional": true
},
"location": {
"type": "string",
"required": true
Expand All @@ -14783,6 +14899,11 @@ func init() {
"type": "string",
"required": true
},
"repair_enabled": {
"type": "bool",
"optional": true,
"default": true
},
"resource_group_name": {
"type": "string",
"required": true
Expand All @@ -14793,6 +14914,33 @@ func init() {
"string"
],
"optional": true
},
"version": {
"type": "string",
"optional": true,
"default": "3.11"
}
},
"block_types": {
"identity": {
"nesting_mode": 3,
"block": {
"attributes": {
"principal_id": {
"type": "string",
"computed": true
},
"tenant_id": {
"type": "string",
"computed": true
},
"type": {
"type": "string",
"required": true
}
}
},
"optional": true
}
}
}
Expand Down Expand Up @@ -32679,10 +32827,24 @@ func init() {
"azurerm_hpc_cache": {
"block": {
"attributes": {
"automatically_rotate_key_to_latest_enabled": {
"type": "bool",
"optional": true,
"required_with": [
"key_vault_key_id"
]
},
"cache_size_in_gb": {
"type": "number",
"required": true
},
"key_vault_key_id": {
"type": "string",
"optional": true,
"required_with": [
"identity"
]
},
"location": {
"type": "string",
"required": true
Expand Down Expand Up @@ -32910,6 +33072,25 @@ func init() {
}
},
"optional": true
},
"identity": {
"nesting_mode": 3,
"block": {
"attributes": {
"identity_ids": {
"type": [
"set",
"string"
],
"required": true
},
"type": {
"type": "string",
"required": true
}
}
},
"optional": true
}
}
}
Expand Down Expand Up @@ -33696,7 +33877,7 @@ func init() {
},
"id_properties": {
"type": [
"set",
"list",
"string"
],
"required": true
Expand Down Expand Up @@ -78809,5 +78990,5 @@ func init() {
fmt.Fprintf(os.Stderr, "unmarshalling the provider schema: %s", err)
os.Exit(1)
}
ProviderSchemaInfo.Version = "3.9.0"
ProviderSchemaInfo.Version = "3.11.0"
}

0 comments on commit 50168c8

Please sign in to comment.