From 1f3b5e971e4c43cb83566ebd57489607462cc2f9 Mon Sep 17 00:00:00 2001 From: Volodymyr Zotov Date: Thu, 7 Dec 2023 10:24:17 -0600 Subject: [PATCH] Fix typos in documentation and error message --- docs/index.md | 2 +- onepassword/cli/op_test.go | 2 +- templates/index.md.tmpl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/index.md b/docs/index.md index b0fd2f66..b74d46c4 100644 --- a/docs/index.md +++ b/docs/index.md @@ -38,7 +38,7 @@ provider "onepassword" { ## Use with service accounts: Retry mechanism is implemented when using provider with service accounts. Each retry fast forwards to the [service account rate limit](https://developer.1password.com/docs/service-accounts/rate-limits/). -It's recommended to limit the number of parallel resource operations. It can be done by using `-parallelism=n` flag when do `terraform apply`, where `n` is the number of parallel resource operations that defaults to `10`. +It's recommended to limit the number of parallel resource operations. It can be done by using `-parallelism=n` flag when running `terraform apply`, where `n` is the number of parallel resource operations (the default is `10`). ``` terraform apply `-parallelism=n` ``` diff --git a/onepassword/cli/op_test.go b/onepassword/cli/op_test.go index 652a3c75..34c8cbac 100644 --- a/onepassword/cli/op_test.go +++ b/onepassword/cli/op_test.go @@ -32,7 +32,7 @@ func TestWithRetry(t *testing.T) { }, validate: func(item *onepassword.Item, err error) { if err == nil { - t.Error("Action should fail it when error is 409") + t.Error("Action should fail when error is 409") } if item != nil { t.Error("Item should be nil when error is 409") diff --git a/templates/index.md.tmpl b/templates/index.md.tmpl index 2f45c038..de92e25a 100644 --- a/templates/index.md.tmpl +++ b/templates/index.md.tmpl @@ -23,7 +23,7 @@ To use a service account token, you must install [1Password CLI](https://develop ## Use with service accounts: Retry mechanism is implemented when using provider with service accounts. Each retry fast forwards to the [service account rate limit](https://developer.1password.com/docs/service-accounts/rate-limits/). -It's recommended to limit the number of parallel resource operations. It can be done by using `-parallelism=n` flag when do `terraform apply`, where `n` is the number of parallel resource operations that defaults to `10`. +It's recommended to limit the number of parallel resource operations. It can be done by using `-parallelism=n` flag when running `terraform apply`, where `n` is the number of parallel resource operations (the default is `10`). ``` terraform apply `-parallelism=n` ```