Skip to content

Commit

Permalink
Run 'make docs-generate' ahead of release (#278)
Browse files Browse the repository at this point in the history
* Run 'make docs-generate' ahead of release

* Bump to Go 1.23.3 in lint.yaml

* Run 'go get [email protected] toolchain@none'

* Run 'go get [email protected] toolchain@none'
  • Loading branch information
joannelynch92 authored Nov 7, 2024
1 parent 347d8f9 commit 3b7540c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
2 changes: 0 additions & 2 deletions docs/resources/vmaas_instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,6 @@ Read-Only:
- `id` (Number)
- `ip` (String)
- `max_cores` (Number)
- `max_memory` (Number)
- `max_storage` (Number)
- `name` (String)
- `server` (Set of Object) (see [below for nested schema](#nestedobjatt--containers--server))

Expand Down
10 changes: 5 additions & 5 deletions docs/resources/vmaas_instance_clone.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,14 @@ resource "hpegl_vmaas_instance_clone" "minimal_instance" {
network {
id = data.hpegl_vmaas_network.blue_net.id
}
volume {
name = "root_vol"
size = 5
datastore_id = data.hpegl_vmaas_datastore.c_3par.id
}
}
```

-> On cloning an instance, the parent volume will be appended to the child volume. If the child volume
name is the same as the parent volume name, the duplicate volume name is used.


## Example usage for creating cloned instance with all available attributes.

Expand Down Expand Up @@ -228,8 +230,6 @@ Read-Only:
- `id` (Number)
- `ip` (String)
- `max_cores` (Number)
- `max_memory` (Number)
- `max_storage` (Number)
- `name` (String)
- `server` (Set of Object) (see [below for nested schema](#nestedobjatt--containers--server))

Expand Down
5 changes: 5 additions & 0 deletions examples/resources/hpegl_vmaas_instance_clone/minimal.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,9 @@ resource "hpegl_vmaas_instance_clone" "minimal_instance" {
network {
id = data.hpegl_vmaas_network.blue_net.id
}
volume {
name = "root_vol"
size = 5
datastore_id = data.hpegl_vmaas_datastore.c_3par.id
}
}
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module github.com/HPE/terraform-provider-hpegl

go 1.22.5
toolchain go1.22.8
go 1.22.8

require (
github.com/HewlettPackard/hpegl-containers-terraform-resources v0.0.11
Expand Down
3 changes: 0 additions & 3 deletions templates/resources/vmaas_instance_clone.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ Cloned instance can have all the possible attributes (same as `hpegl_vmaas_insta

{{tffile "examples/resources/hpegl_vmaas_instance_clone/minimal.tf"}}

-> On cloning an instance, the parent volume will be appended to the child volume. If the child volume
name is the same as the parent volume name, the duplicate volume name is used.


## Example usage for creating cloned instance with all available attributes.

Expand Down

0 comments on commit 3b7540c

Please sign in to comment.