Skip to content

Commit

Permalink
Fixes typos and misspellings (#12543)
Browse files Browse the repository at this point in the history
[upstream:3b4140704b27c4bcecf83f1b37158e97aa34e300]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician committed Dec 12, 2024
1 parent 44c34ff commit 870c587
Show file tree
Hide file tree
Showing 15 changed files with 19 additions and 16 deletions.
3 changes: 3 additions & 0 deletions .changelog/12543.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
2 changes: 1 addition & 1 deletion google/fwvalidators/framework_validators_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func TestFrameworkProvider_CredentialsValidator(t *testing.T) {
"configuring credentials as a path to a credentials JSON file is valid": {
ConfigValue: types.StringValue(transport_tpg.TestFakeCredentialsPath), // Path to a test fixture
},
"configuring credentials as a path to a non-existant file is NOT valid": {
"configuring credentials as a path to a non-existent file is NOT valid": {
ConfigValue: types.StringValue("./this/path/doesnt/exist.json"), // Doesn't exist
ExpectedErrorCount: 1,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1231,7 +1231,7 @@ data "google_compute_global_address" "private_ip_alloc" {
`, context)
}

// This test passes if automated backup policy and inital user can be added and deleted from the promoted secondary cluster
// This test passes if automated backup policy and initial user can be added and deleted from the promoted secondary cluster
func TestAccAlloydbCluster_secondaryClusterPromoteAndAddAndDeleteAutomatedBackupPolicyAndInitialUser(t *testing.T) {
t.Parallel()

Expand Down
4 changes: 2 additions & 2 deletions google/services/bigquery/resource_bigquery_table_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ func TestAccBigQueryExternalDataTable_queryAcceleration(t *testing.T) {
connectionID := fmt.Sprintf("tf_test_%s", acctest.RandString(t, 10))

metadataCacheMode := "AUTOMATIC"
// including an optional field. Should work without specifiying.
// including an optional field. Should work without specifying.
// Has to follow google sql IntervalValue encoding
maxStaleness := "0-0 0 10:0:0"

Expand All @@ -929,7 +929,7 @@ func TestAccBigQueryExternalDataTable_objectTable(t *testing.T) {
datasetID := fmt.Sprintf("tf_test_%s", acctest.RandString(t, 10))
tableID := fmt.Sprintf("tf_test_%s", acctest.RandString(t, 10))
connectionID := fmt.Sprintf("tf_test_%s", acctest.RandString(t, 10))
// including an optional field. Should work without specifiying.
// including an optional field. Should work without specifying.
// Has to follow google sql IntervalValue encoding
maxStaleness := "0-0 0 10:0:0"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ A duration in seconds with up to nine fractional digits, ending with 's'. Exampl
"use_timeout_based_endpointing": {
Type: schema.TypeBool,
Optional: true,
Description: `Use timeout based endpointing, interpreting endpointer sensitivy as seconds of timeout value.`,
Description: `Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value.`,
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion google/services/firestore/resource_firestore_database.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Cloud KMS multi-region europe. See https://cloud.google.com/kms/docs/locations.
This value should be the KMS key resource ID in the format of
'projects/{project_id}/locations/{kms_location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}'.
How to retrive this resource ID is listed at
How to retrieve this resource ID is listed at
https://cloud.google.com/kms/docs/getting-resource-ids#getting_the_id_for_a_key_and_version.`,
},
"active_key_version": {
Expand Down
2 changes: 1 addition & 1 deletion google/services/firestore/resource_firestore_field.go
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ func expandFirestoreFieldIndexConfig(v interface{}, d tpgresource.TerraformResou
/*
* Expands an empty terraform config into an empty object.
*
* Used to differentate a user specifying an empty block versus a null/unset block.
* Used to differentiate a user specifying an empty block versus a null/unset block.
*
* This is unique from send_empty_value, which will send an explicit null value
* for empty configuration blocks.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ Will be empty string if google managed.`,
"description": {
Type: schema.TypeString,
Optional: true,
Description: `An arbitrary description for the Conection.`,
Description: `An arbitrary description for the Connection.`,
},
"destination_config": {
Type: schema.TypeList,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ func checkFieldsMatchForDataSourceStateAndResourceState(dsAttr, rsAttr map[strin
return nil
}

// This function checks state match for resourceName and asserts the absense of resourceName2 in data source
// This function checks state match for resourceName and asserts the absence of resourceName2 in data source
func checkListDataSourceStateMatchesResourceStateWithIgnoresForAppliedFilter(dataSourceName, resourceName, resourceName2 string, ignoreFields map[string]struct{}) func(*terraform.State) error {
return func(s *terraform.State) error {
ds, ok := s.RootModule().Resources[dataSourceName]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ func checkListDataSourceStateMatchesResourceStateWithIgnores(dataSourceName, res
}
}

// This function checks state match for resorceName2 and asserts the absense of resorceName in data source
// This function checks state match for resorceName2 and asserts the absence of resorceName in data source
func checkListDataSourceStateMatchesResourceStateWithIgnoresForAppliedFilter(dataSourceName, resourceName, resourceName2 string, ignoreFields map[string]struct{}) func(*terraform.State) error {
return func(s *terraform.State) error {
ds, ok := s.RootModule().Resources[dataSourceName]
Expand Down Expand Up @@ -375,7 +375,7 @@ func checkResourceAbsentInDataSourceAfterFilterApllied(dsAttr, rsAttr map[string
return nil
}

// This function checks whether all the attributes of the database instance resource and the attributes of the datbase instance inside the data source list are the same
// This function checks whether all the attributes of the database instance resource and the attributes of the database instance inside the data source list are the same
func checkFieldsMatchForDataSourceStateAndResourceState(dsAttr, rsAttr map[string]string, ignoreFields map[string]struct{}) error {
totalInstances, err := strconv.Atoi(dsAttr["instances.#"])
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion google/services/sql/data_source_sql_databases_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func checkDatabasesListDataSourceStateMatchesResourceStateWithIgnores(dataSource
}
}

// This function checks whether all the attributes of the database instance resource and the attributes of the datbase instance inside the data source list are the same
// This function checks whether all the attributes of the database instance resource and the attributes of the database instance inside the data source list are the same
func checkDatabaseFieldsMatchForDataSourceStateAndResourceState(dsAttr, rsAttr map[string]string, ignoreFields map[string]struct{}) error {
totalInstances, err := strconv.Atoi(dsAttr["databases.#"])
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/dialogflow_cx_agent.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ The following arguments are supported:

* `use_timeout_based_endpointing` -
(Optional)
Use timeout based endpointing, interpreting endpointer sensitivy as seconds of timeout value.
Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value.

* `models` -
(Optional)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ In addition to the arguments listed above, the following computed attributes are
Structure is [documented below](#nested_cert).

* `reconciling` -
if true, indicates that Hosting's systems are attmepting to
if true, indicates that Hosting's systems are attempting to
make the `CustomDomain`'s state match your preferred state. This is most
frequently `true` when initially provisioning a `CustomDomain` or when creating
a new SSL certificate to match an updated `cert_preference`
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/firestore_database.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ See also `delete_protection`.
Cloud KMS multi-region europe. See https://cloud.google.com/kms/docs/locations.
This value should be the KMS key resource ID in the format of
`projects/{project_id}/locations/{kms_location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
How to retrive this resource ID is listed at
How to retrieve this resource ID is listed at
https://cloud.google.com/kms/docs/getting-resource-ids#getting_the_id_for_a_key_and_version.

* `active_key_version` -
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ The following arguments are supported:

* `description` -
(Optional)
An arbitrary description for the Conection.
An arbitrary description for the Connection.

* `labels` -
(Optional)
Expand Down

0 comments on commit 870c587

Please sign in to comment.