Skip to content

Commit

Permalink
US39142-Included support for project machine size limits (#64)
Browse files Browse the repository at this point in the history
* US39142-Included support for project machine size limits

* US39142-Implemented comments
  • Loading branch information
dbozzato81 authored Aug 24, 2022
1 parent 57195ff commit fd613cd
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 133 deletions.
9 changes: 7 additions & 2 deletions examples/resources/hpegl_metal_project/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Terraform will perform the following actions:
+ "volume_capacity" = "300"
+ "volumes" = "10"
+ "private_networks" = "20"
+ "instance_types" = { "944e7b2c-a181-4aa2-afcc-35480b07caa4": 1}
}
+ name = "blob"
+ profile {
Expand Down Expand Up @@ -62,8 +63,12 @@ The available_resources block takes the following arguments.
- `company` - (Optional) Company name.
- `email` - (Optional) email address.
- `project_description` - (Optional) Descriptive text for the project.
- `limits` - Project quotas.

- `limits` - Project quotas.
- `hosts` - Maximum number of hosts
- `volumes` - Maximum number of volumes
- `volume_capacity` - Maximum aggregated volume capacity in TiB
- `private_networks` - Maximum number of private networks
- `instance_types` - (Optional) Map of instance type ID to maximum number of hosts that can be created with that instance type

### Attribute Reference

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/golangci/golangci-lint v1.47.3
github.com/hashicorp/terraform-plugin-docs v0.13.0
github.com/hashicorp/terraform-plugin-sdk/v2 v2.20.0
github.com/hewlettpackard/hpegl-metal-client v1.4.5
github.com/hewlettpackard/hpegl-metal-client v1.4.6
github.com/hewlettpackard/hpegl-provider-lib v0.0.12
github.com/stretchr/testify v1.8.0
gopkg.in/yaml.v2 v2.4.0
Expand Down
Loading

0 comments on commit fd613cd

Please sign in to comment.