Skip to content

Commit 5e3e753

Browse files
authored
Fix spelling (#59)
1 parent cd20145 commit 5e3e753

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Requirements
77
- [Terraform](https://www.terraform.io/downloads.html) 1.0.x
88
- [Go](https://golang.org/doc/install) 1.16+ (to build the provider plugin)
99

10-
Using the Provider from Terrafrom registry
10+
Using the Provider from Terraform registry
1111
------------------------------------------
1212
To install the CloudStack provider, copy and paste the below code into your Terraform configuration. Then, run terraform init.
1313
```sh
@@ -85,7 +85,7 @@ $ export CLOUDSTACK_API_KEY=r_gszj7e0ttr_C6CP5QU_1IV82EIOtK4o_K9i_AltVztfO68wpXi
8585
$ export CLOUDSTACK_SECRET_KEY=tsfMDShFe94f4JkJfEh6_tZZ--w5jqEW7vGL2tkZGQgcdbnxNoq9fRmwAtU5MEGGXOrDlNA6tfvGK14fk_MB6w
8686
```
8787

88-
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:
88+
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:
8989

9090
```sh
9191
$ make testacc

cloudstack/metadata.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func getMetadata(cs *cloudstack.CloudStackClient, d *schema.ResourceData, resour
5959
if err != nil {
6060
return nil, err
6161
}
62-
// Only return metadata values that were explicitely set
62+
// Only return metadata values that were explicitly set
6363
var existingFilter map[string]interface{}
6464
if metadata, ok := d.GetOk("metadata"); ok {
6565
existingFilter = metadata.(map[string]interface{})

cloudstack/resource_cloudstack_instance.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ func resourceCloudStackInstanceRead(d *schema.ResourceData, meta interface{}) er
350350
d.Set("display_name", vm.Displayname)
351351
d.Set("group", vm.Group)
352352

353-
// In some rare cases (when destroying a machine failes) it can happen that
353+
// In some rare cases (when destroying a machine fails) it can happen that
354354
// an instance does not have any attached NIC anymore.
355355
if len(vm.Nic) > 0 {
356356
d.Set("network_id", vm.Nic[0].Networkid)
@@ -675,7 +675,7 @@ func getUserData(userData string, httpGetOnly bool) (string, error) {
675675
if len(ud) > maxUD {
676676
return "", fmt.Errorf(
677677
"The supplied user_data contains %d bytes after encoding, "+
678-
"this exeeds the limit of %d bytes", len(ud), maxUD)
678+
"this exceeds the limit of %d bytes", len(ud), maxUD)
679679
}
680680

681681
return ud, nil

cloudstack/resource_cloudstack_network.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ func resourceCloudStackNetworkCreate(d *schema.ResourceData, meta interface{}) e
224224
// Set the vpc id
225225
p.SetVpcid(vpcid.(string))
226226

227-
// Since we're in a VPC, check if we want to assiciate an ACL list
227+
// Since we're in a VPC, check if we want to associate an ACL list
228228
if aclid, ok := d.GetOk("acl_id"); ok && aclid.(string) != none {
229229
// Set the acl ID
230230
p.SetAclid(aclid.(string))

cloudstack/resource_cloudstack_network_offering.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,10 @@ func resourceCloudStackNetworkOfferingUpdate(d *schema.ResourceData, meta interf
135135
// Create a new parameter struct
136136
p := cs.NetworkOffering.NewUpdateNetworkOfferingParams()
137137

138-
// Set the new uest ip type
138+
// Set the new guest ip type
139139
p.SetName(d.Get("guest_ip_type").(string))
140140

141-
// Update the uest ip type
141+
// Update the guest ip type
142142
_, err := cs.NetworkOffering.UpdateNetworkOffering(p)
143143
if err != nil {
144144
return fmt.Errorf(

website/docs/d/instance.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: "cloudstack"
33
page_title: "Cloudstack: cloudstack_instance"
44
sidebar_current: "docs-cloudstack-datasource-instance"
55
description: |-
6-
Gets informations about cloudstack instance.
6+
Gets information about cloudstack instance.
77
---
88

99
# cloudstack_instance
@@ -37,6 +37,6 @@ The following attributes are exported:
3737
* `display_name` - The user generated name. The name of the virtual machine is returned if no displayname exists.
3838
* `state` - The state of the virtual machine.
3939
* `host_id` - The ID of the host for the virtual machine.
40-
* `zone_id` - The ID of the availablility zone for the virtual machine.
40+
* `zone_id` - The ID of the availability zone for the virtual machine.
4141
* `created` - The date when this virtual machine was created.
4242
* `nic` - The list of nics associated with vm.

0 commit comments

Comments
 (0)