Skip to content

Commit 26ddbec

Browse files
authored
fix(docs): spelling fixes (#158)
1 parent 9f0e382 commit 26ddbec

File tree

11 files changed

+15
-15
lines changed

11 files changed

+15
-15
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ IBM MQ on IBM Cloud enables you to quickly and easily deploy queue managers in t
2929
Use the terraform IBM module for MQ on Cloud manage MQ resources. Queue manager, User, Application and Certificate interfaces enable convenient management of MQ on Cloud resource lifecycles.
3030

3131
Information: The terraform IBM module for MQ on Cloud is incubating and NOT GA on IBM Cloud. The features demonstrated here
32-
are incomplete, may not be in final form and may generate unpredicatable failures.
32+
are incomplete, may not be in final form and may generate unpredictable failures.
3333

3434
<!-- The following content is automatically populated by the pre-commit hook -->
3535
<!-- BEGIN OVERVIEW HOOK -->
@@ -177,7 +177,7 @@ No resources.
177177
| Name | Description | Type | Default | Required |
178178
|------|-------------|------|---------|:--------:|
179179
| <a name="input_applications"></a> [applications](#input\_applications) | A map of IBM MQ on Cloud applications to be created. | <pre>map(object({<br/> name = string<br/> }))</pre> | `{}` | no |
180-
| <a name="input_existing_mq_capacity_crn"></a> [existing\_mq\_capacity\_crn](#input\_existing\_mq\_capacity\_crn) | The CRN of an existing capacity service instance, if not specifed, a new capacity plan will be created | `string` | `null` | no |
180+
| <a name="input_existing_mq_capacity_crn"></a> [existing\_mq\_capacity\_crn](#input\_existing\_mq\_capacity\_crn) | The CRN of an existing capacity service instance, if not specified, a new capacity plan will be created | `string` | `null` | no |
181181
| <a name="input_keystore_certificates"></a> [keystore\_certificates](#input\_keystore\_certificates) | A map of IBM MQ on Cloud keystore certificates to be created. | <pre>map(object({<br/> certificate = string<br/> label = string<br/> }))</pre> | `{}` | no |
182182
| <a name="input_name"></a> [name](#input\_name) | The name to give the MQ on Cloud instance. | `string` | n/a | yes |
183183
| <a name="input_queue_manager_display_name"></a> [queue\_manager\_display\_name](#input\_queue\_manager\_display\_name) | A displayable name for the queue manager. | `string` | n/a | yes |

examples/advanced/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ module "resource_group" {
1616

1717
locals {
1818
prefix_split = split("-", var.prefix)
19-
prefix_offest = length(local.prefix_split) > 1 ? length(local.prefix_split) - 1 : 0
20-
prefix = local.prefix_split[local.prefix_offest]
19+
prefix_offset = length(local.prefix_split) > 1 ? length(local.prefix_split) - 1 : 0
20+
prefix = local.prefix_split[local.prefix_offset]
2121
}
2222

2323
module "mq_on_cloud" {

examples/advanced/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ variable "resource_tags" {
3434

3535
variable "existing_mq_capacity_crn" {
3636
type = string
37-
description = "The CRN of an existing capacity service instance, if not specifed, a new capacity plan will be created"
37+
description = "The CRN of an existing capacity service instance, if not specified, a new capacity plan will be created"
3838
}
3939

4040
variable "keystore_certificate" {

examples/basic/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ module "resource_group" {
1616

1717
locals {
1818
prefix_split = split("-", var.prefix)
19-
prefix_offest = length(local.prefix_split) > 1 ? length(local.prefix_split) - 1 : 0
20-
prefix = local.prefix_split[local.prefix_offest]
19+
prefix_offset = length(local.prefix_split) > 1 ? length(local.prefix_split) - 1 : 0
20+
prefix = local.prefix_split[local.prefix_offset]
2121
}
2222

2323
# tflint 0.55.1 has an issue https://github.com/terraform-linters/tflint/issues/2243

examples/basic/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ variable "resource_tags" {
3434

3535
variable "existing_mq_capacity_crn" {
3636
type = string
37-
description = "The CRN of an existing capacity service instance, if not specifed, a new capacity plan will be created"
37+
description = "The CRN of an existing capacity service instance, if not specified, a new capacity plan will be created"
3838
default = null
3939
}
4040

modules/experimental-connection/curlly.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ CONNECTION=$(curl -X GET --location --header "Authorization: Bearer ${BEARER}"
1010

1111
# shellcheck disable=SC2086
1212
# jq flattens json structure
13-
# jq then marshalls the numbers
13+
# jq then marshals the numbers
1414
# flatten is the same for both connection or error, caller to determine how to process output
1515
echo "${CONNECTION}" | jq '[paths(scalars) as $path | { ($path | map(tostring) | join("_")): getpath($path) } ] | add' | jq 'walk(if type == "number" then tostring else . end)'

modules/mq-instance/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ No modules.
4646

4747
| Name | Description | Type | Default | Required |
4848
|------|-------------|------|---------|:--------:|
49-
| <a name="input_existing_mq_capacity_crn"></a> [existing\_mq\_capacity\_crn](#input\_existing\_mq\_capacity\_crn) | The CRN of an existing capacity service instance, if not specifed, a new capacity plan will be created. | `string` | `null` | no |
49+
| <a name="input_existing_mq_capacity_crn"></a> [existing\_mq\_capacity\_crn](#input\_existing\_mq\_capacity\_crn) | The CRN of an existing capacity service instance, if not specified, a new capacity plan will be created. | `string` | `null` | no |
5050
| <a name="input_name"></a> [name](#input\_name) | The name to give the MQ on Cloud instance. | `string` | n/a | yes |
5151
| <a name="input_region"></a> [region](#input\_region) | The region to provision the MQ on Cloud instance to. | `string` | n/a | yes |
5252
| <a name="input_resource_group_id"></a> [resource\_group\_id](#input\_resource\_group\_id) | The ID of the resource group to provision the MQ on Cloud instance to. | `string` | n/a | yes |

modules/mq-instance/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ variable "tags" {
2525

2626
variable "existing_mq_capacity_crn" {
2727
type = string
28-
description = "The CRN of an existing capacity service instance, if not specifed, a new capacity plan will be created."
28+
description = "The CRN of an existing capacity service instance, if not specified, a new capacity plan will be created."
2929
default = null
3030
}
3131

solutions/fully-configurable/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ module "experimental_connection" {
9797
}
9898

9999
########################################################################################################################
100-
# MQ queue configuraton
100+
# MQ queue configuration
101101
########################################################################################################################
102102

103103
########################################################################################################################

solutions/fully-configurable/outputs.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ output "connection_admin_queue_manager_name" {
101101
}
102102

103103
output "connection_admin_cipherspec" {
104-
description = "The admin channel ciper specification"
104+
description = "The admin channel cipher specification"
105105
value = module.experimental_connection.connection_admin_cipherspec
106106
}
107107

@@ -131,7 +131,7 @@ output "connection_app_queue_manager_name" {
131131
}
132132

133133
output "connection_app_cipherspec" {
134-
description = "The application channel ciper specification."
134+
description = "The application channel cipher specification."
135135
value = module.experimental_connection.connection_app_cipherspec
136136
}
137137

0 commit comments

Comments
 (0)