-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #133 from maxlaverse/add_support_for_org_collections
Add support for org-collections and organizations
- Loading branch information
Showing
55 changed files
with
892 additions
and
493 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "bitwarden_org_collection Data Source - terraform-provider-bitwarden" | ||
subcategory: "" | ||
description: |- | ||
Use this data source to get information on an existing organization collection. | ||
--- | ||
|
||
# bitwarden_org_collection (Data Source) | ||
|
||
Use this data source to get information on an existing organization collection. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "bitwarden_organization" "terraform" { | ||
search = "Terraform" | ||
} | ||
data "bitwarden_org_collection" "engineering" { | ||
search = "Engineering" | ||
organization_id = data.bitwarden_organization.terraform.id | ||
} | ||
# Example of usage of the data source: | ||
resource "bitwarden_item_login" "administrative_user" { | ||
name = "Service Administrator" | ||
username = "admin" | ||
password = "<sensitive>" | ||
organization_id = data.bitwarden_organization.terraform.id | ||
collection_ids = [data.bitwarden_org_collection.terraform.id] | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `organization_id` (String) Identifier of the organization. | ||
|
||
### Optional | ||
|
||
- `id` (String) Identifier. | ||
- `search` (String) Search items matching the search string. | ||
|
||
### Read-Only | ||
|
||
- `name` (String) Name. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "bitwarden_organization Data Source - terraform-provider-bitwarden" | ||
subcategory: "" | ||
description: |- | ||
Use this data source to get information on an existing organization. | ||
--- | ||
|
||
# bitwarden_organization (Data Source) | ||
|
||
Use this data source to get information on an existing organization. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "bitwarden_organization" "terraform" { | ||
search = "Terraform" | ||
} | ||
# Example of usage of the data source: | ||
resource "bitwarden_item_login" "administrative_user" { | ||
name = "Service Administrator" | ||
username = "admin" | ||
password = "<sensitive>" | ||
organization_id = data.bitwarden_organization.terraform.id | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- `id` (String) Identifier. | ||
- `search` (String) Search items matching the search string. | ||
|
||
### Read-Only | ||
|
||
- `name` (String) Name. |
Oops, something went wrong.