Onboard object storage credentials group (#74)
* Onboard credentials group resource * Update object storage acc test * Fix typo * Generate docs, add examples, fix typos * Refactor map fiels * Add unit test for readCredentialsGroups * Fix lint issues§ g * Use projectId from Model * Fix errors§ g * Fix test * Simplify signature of enableProject * Change comment * Add TestEnableProject * Rename variable * Add enableProject test * Remove unused test setting * Fix wrong error message * Improve test case, rename mocked data * Fix typo * Removed unnecessary test case * Removed unnecessary test case --------- Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
This commit is contained in:
parent
fee47a6400
commit
b8d2d94156
15 changed files with 1011 additions and 14 deletions
|
|
@ -3,12 +3,12 @@
|
|||
page_title: "stackit_objectstorage_bucket Data Source - stackit"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
ObjectStorage credential data source schema.
|
||||
ObjectStorage bucket data source schema.
|
||||
---
|
||||
|
||||
# stackit_objectstorage_bucket (Data Source)
|
||||
|
||||
ObjectStorage credential data source schema.
|
||||
ObjectStorage bucket data source schema.
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
30
docs/data-sources/objectstorage_credentials_group.md
Normal file
30
docs/data-sources/objectstorage_credentials_group.md
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "stackit_objectstorage_credentials_group Data Source - stackit"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
ObjectStorage credentials group data source schema.
|
||||
---
|
||||
|
||||
# stackit_objectstorage_credentials_group (Data Source)
|
||||
|
||||
ObjectStorage credentials group data source schema.
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `project_id` (String) Object Storage Project ID to which the credentials group is associated.
|
||||
|
||||
### Optional
|
||||
|
||||
- `credentials_group_id` (String) Terraform's internal data source identifier. It is structured as "`project_id`,`credentials_group_id`".
|
||||
- `name` (String) The credentials group's display name.
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `id` (String) Terraform's internal data source identifier. It is structured as "`project_id`,`credentials_group_id`".
|
||||
- `urn` (String) Credentials group uniform resource name (URN)
|
||||
27
docs/resources/objectstorage_credentials_group.md
Normal file
27
docs/resources/objectstorage_credentials_group.md
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "stackit_objectstorage_credentials_group Resource - stackit"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
ObjectStorage credentials group resource schema.
|
||||
---
|
||||
|
||||
# stackit_objectstorage_credentials_group (Resource)
|
||||
|
||||
ObjectStorage credentials group resource schema.
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `name` (String) The credentials group's display name.
|
||||
- `project_id` (String) Project ID to which the credentials group is associated.
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `credentials_group_id` (String) The credentials group ID
|
||||
- `id` (String) Terraform's internal data source identifier. It is structured as "`project_id`,`credentials_group_id`".
|
||||
- `urn` (String) Credentials group uniform resource name (URN)
|
||||
Loading…
Add table
Add a link
Reference in a new issue