diff --git a/examples/resources/hpegl_vmaas_instance_clone/minimal.tf b/examples/resources/hpegl_vmaas_instance_clone/minimal.tf index 8acffbf4..d12440f0 100644 --- a/examples/resources/hpegl_vmaas_instance_clone/minimal.tf +++ b/examples/resources/hpegl_vmaas_instance_clone/minimal.tf @@ -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 + } } diff --git a/go.mod b/go.mod index 60babebc..7c2dbc95 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/go.sum b/go.sum index bc80f5ae..aefd5f3d 100644 --- a/go.sum +++ b/go.sum @@ -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= diff --git a/templates/resources/vmaas_instance_clone.md.tmpl b/templates/resources/vmaas_instance_clone.md.tmpl index be90ebe7..93c13311 100644 --- a/templates/resources/vmaas_instance_clone.md.tmpl +++ b/templates/resources/vmaas_instance_clone.md.tmpl @@ -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.