This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/cloudstack-terraform-provider.git


The following commit(s) were added to refs/heads/main by this push:
     new 5e3e753  Fix spelling (#59)
5e3e753 is described below

commit 5e3e75394e169a43ed5a9818686b870e7288f63a
Author: John Bampton <[email protected]>
AuthorDate: Fri May 26 02:48:19 2023 +1000

    Fix spelling (#59)
---
 README.md                                          | 4 ++--
 cloudstack/metadata.go                             | 2 +-
 cloudstack/resource_cloudstack_instance.go         | 4 ++--
 cloudstack/resource_cloudstack_network.go          | 2 +-
 cloudstack/resource_cloudstack_network_offering.go | 4 ++--
 website/docs/d/instance.html.markdown              | 4 ++--
 6 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/README.md b/README.md
index 9c128cc..794ff18 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@ Requirements
 -      [Terraform](https://www.terraform.io/downloads.html) 1.0.x
 -      [Go](https://golang.org/doc/install) 1.16+ (to build the provider 
plugin)
 
-Using the Provider from Terrafrom registry
+Using the Provider from Terraform registry
 ------------------------------------------
 To install the CloudStack provider, copy and paste the below code into your 
Terraform configuration. Then, run terraform init.
 ```sh
@@ -85,7 +85,7 @@ $ export 
CLOUDSTACK_API_KEY=r_gszj7e0ttr_C6CP5QU_1IV82EIOtK4o_K9i_AltVztfO68wpXi
 $ export 
CLOUDSTACK_SECRET_KEY=tsfMDShFe94f4JkJfEh6_tZZ--w5jqEW7vGL2tkZGQgcdbnxNoq9fRmwAtU5MEGGXOrDlNA6tfvGK14fk_MB6w
 ```
 
-In order for all the tests to pass, you will need to create a new (empty) 
project in the UI called `terraform`. When the project is created you can run 
the Acceptance tests against the CloudStack Simulator by simply runnning:
+In order for all the tests to pass, you will need to create a new (empty) 
project in the UI called `terraform`. When the project is created you can run 
the Acceptance tests against the CloudStack Simulator by simply running:
 
 ```sh
 $ make testacc
diff --git a/cloudstack/metadata.go b/cloudstack/metadata.go
index 714c244..59f6801 100644
--- a/cloudstack/metadata.go
+++ b/cloudstack/metadata.go
@@ -59,7 +59,7 @@ func getMetadata(cs *cloudstack.CloudStackClient, d 
*schema.ResourceData, resour
        if err != nil {
                return nil, err
        }
-       // Only return metadata values that were explicitely set
+       // Only return metadata values that were explicitly set
        var existingFilter map[string]interface{}
        if metadata, ok := d.GetOk("metadata"); ok {
                existingFilter = metadata.(map[string]interface{})
diff --git a/cloudstack/resource_cloudstack_instance.go 
b/cloudstack/resource_cloudstack_instance.go
index 8922606..f083181 100644
--- a/cloudstack/resource_cloudstack_instance.go
+++ b/cloudstack/resource_cloudstack_instance.go
@@ -350,7 +350,7 @@ func resourceCloudStackInstanceRead(d *schema.ResourceData, 
meta interface{}) er
        d.Set("display_name", vm.Displayname)
        d.Set("group", vm.Group)
 
-       // In some rare cases (when destroying a machine failes) it can happen 
that
+       // In some rare cases (when destroying a machine fails) it can happen 
that
        // an instance does not have any attached NIC anymore.
        if len(vm.Nic) > 0 {
                d.Set("network_id", vm.Nic[0].Networkid)
@@ -675,7 +675,7 @@ func getUserData(userData string, httpGetOnly bool) 
(string, error) {
        if len(ud) > maxUD {
                return "", fmt.Errorf(
                        "The supplied user_data contains %d bytes after 
encoding, "+
-                               "this exeeds the limit of %d bytes", len(ud), 
maxUD)
+                               "this exceeds the limit of %d bytes", len(ud), 
maxUD)
        }
 
        return ud, nil
diff --git a/cloudstack/resource_cloudstack_network.go 
b/cloudstack/resource_cloudstack_network.go
index febd0bb..405b9a2 100644
--- a/cloudstack/resource_cloudstack_network.go
+++ b/cloudstack/resource_cloudstack_network.go
@@ -224,7 +224,7 @@ func resourceCloudStackNetworkCreate(d 
*schema.ResourceData, meta interface{}) e
                // Set the vpc id
                p.SetVpcid(vpcid.(string))
 
-               // Since we're in a VPC, check if we want to assiciate an ACL 
list
+               // Since we're in a VPC, check if we want to associate an ACL 
list
                if aclid, ok := d.GetOk("acl_id"); ok && aclid.(string) != none 
{
                        // Set the acl ID
                        p.SetAclid(aclid.(string))
diff --git a/cloudstack/resource_cloudstack_network_offering.go 
b/cloudstack/resource_cloudstack_network_offering.go
index e11ece2..a414ff3 100644
--- a/cloudstack/resource_cloudstack_network_offering.go
+++ b/cloudstack/resource_cloudstack_network_offering.go
@@ -135,10 +135,10 @@ func resourceCloudStackNetworkOfferingUpdate(d 
*schema.ResourceData, meta interf
                // Create a new parameter struct
                p := cs.NetworkOffering.NewUpdateNetworkOfferingParams()
 
-               // Set the new uest ip type
+               // Set the new guest ip type
                p.SetName(d.Get("guest_ip_type").(string))
 
-               // Update the uest ip type
+               // Update the guest ip type
                _, err := cs.NetworkOffering.UpdateNetworkOffering(p)
                if err != nil {
                        return fmt.Errorf(
diff --git a/website/docs/d/instance.html.markdown 
b/website/docs/d/instance.html.markdown
index 3c2f7b2..3c2f21c 100644
--- a/website/docs/d/instance.html.markdown
+++ b/website/docs/d/instance.html.markdown
@@ -3,7 +3,7 @@ layout: "cloudstack"
 page_title: "Cloudstack: cloudstack_instance"
 sidebar_current: "docs-cloudstack-datasource-instance"
 description: |-
-  Gets informations about cloudstack instance.
+  Gets information about cloudstack instance.
 ---
 
 # cloudstack_instance
@@ -37,6 +37,6 @@ The following attributes are exported:
 * `display_name` - The user generated name. The name of the virtual machine is 
returned if no displayname exists.
 * `state` - The state of the virtual machine.
 * `host_id` - The ID of the host for the virtual machine.
-* `zone_id` - The ID of the availablility zone for the virtual machine.
+* `zone_id` - The ID of the availability zone for the virtual machine.
 * `created` - The date when this virtual machine was created.
 * `nic` - The list of nics associated with vm.

Reply via email to