Skip to content

Commit

Permalink
corrections in google_composer_user_workloads_secret (#10644) (#18189)
Browse files Browse the repository at this point in the history
[upstream:fd9366c3802946b1a287637c0de154f69097e107]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored May 20, 2024
1 parent ef5c63a commit 991105c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/r/composer_user_workloads_secret.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Secret can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{region}}/environments/{{environment}}/userWorkloadsSecrets/{{name}}`
* `{{project}}/{{region}}/{{environment}}/{{name}}`
* `{{name}}`
* `{{environment}}/{{name}}`

In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import User Workloads Secret using one of the formats above. For example:

Expand All @@ -99,5 +99,5 @@ When using the [`terraform import` command](https://developer.hashicorp.com/terr
```
$ terraform import google_composer_user_workloads_secret.example projects/{{project}}/locations/{{region}}/environments/{{environment}}/userWorkloadsSecrets/{{name}}
$ terraform import google_composer_user_workloads_secret.example {{project}}/{{region}}/{{environment}}/{{name}}
$ terraform import google_composer_user_workloads_secret.example {{name}}
$ terraform import google_composer_user_workloads_secret.example {{environment}}/{{name}}
```

0 comments on commit 991105c

Please sign in to comment.