Skip to content

Commit

Permalink
Consume go-sdk v0.1.15 and update clone doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mahesh-hpe committed Nov 7, 2024
1 parent 7494108 commit e2b9c3e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
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
}
}
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/HewlettPackard/hpegl-vmaas-terraform-resources
go 1.21

require (
github.com/HewlettPackard/hpegl-vmaas-cmp-go-sdk v0.1.14
github.com/HewlettPackard/hpegl-vmaas-cmp-go-sdk v0.1.15
github.com/golang/mock v1.6.0
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320
github.com/hashicorp/terraform-plugin-docs v0.9.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk=
dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk=
github.com/HewlettPackard/hpegl-vmaas-cmp-go-sdk v0.1.14 h1:G3i8N70LBGo1tEFXCCBx5fd+cERBvnBCviFheVLlj80=
github.com/HewlettPackard/hpegl-vmaas-cmp-go-sdk v0.1.14/go.mod h1:tsKOAAbEQnpXAzqjcZUGzRiVp9QfRViKoTOdIltIMFI=
github.com/HewlettPackard/hpegl-vmaas-cmp-go-sdk v0.1.15 h1:KLFsRCwjbfNXcWb9P6XKYhUZN9ILD0FjcY+ukRYHe1Y=
github.com/HewlettPackard/hpegl-vmaas-cmp-go-sdk v0.1.15/go.mod h1:tsKOAAbEQnpXAzqjcZUGzRiVp9QfRViKoTOdIltIMFI=
github.com/Masterminds/goutils v1.1.0/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU=
github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI=
github.com/Masterminds/goutils v1.1.1/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU=
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 e2b9c3e

Please sign in to comment.