Object storage misc fixes (#82)
* Fix wrong reference * Fix schema * Fix mapFields not fetching credentials group id * Change expiration timestamp * Fix schema * Remove fields that don't come in the GET response * Add RFC3339SecondsOnly * Change expiration timestamp to not support fractional seconds * Set retry timeout * Harmonize expiration timestamp * Skip import check on credential keys * Add error check * Update docs * Change field description * Add test case, simplify test * Add test case, simplify test * Rename variable * Generate docs --------- Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
This commit is contained in:
parent
5a5ac6640c
commit
248b9834ff
11 changed files with 229 additions and 73 deletions
|
|
@ -19,12 +19,12 @@ ObjectStorage credential data source schema.
|
|||
|
||||
- `credential_id` (String) The credential ID.
|
||||
- `credentials_group_id` (String) The credential group ID.
|
||||
- `expiration_timestamp` (String)
|
||||
- `project_id` (String) STACKIT Project ID to which the credential group is associated.
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `access_key` (String)
|
||||
- `expiration_timestamp` (String)
|
||||
- `id` (String) Terraform's internal resource identifier. It is structured as "`project_id`,`credentials_group_id`,`credential_id`".
|
||||
- `name` (String)
|
||||
- `secret_access_key` (String, Sensitive)
|
||||
|
|
|
|||
|
|
@ -17,17 +17,17 @@ ObjectStorage credential resource schema.
|
|||
|
||||
### Required
|
||||
|
||||
- `credentials_group_id` (String) The credential group ID.
|
||||
- `project_id` (String) STACKIT Project ID to which the credential group is associated.
|
||||
|
||||
### Optional
|
||||
|
||||
- `expiration_timestamp` (String)
|
||||
- `expiration_timestamp` (String) Expiration timestamp, in RFC339 format without fractional seconds. Example: "2025-01-01T00:00:00Z". If not set, the credential never expires.
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `access_key` (String)
|
||||
- `credential_id` (String) The credential ID.
|
||||
- `credentials_group_id` (String) The credential group ID.
|
||||
- `id` (String) Terraform's internal resource identifier. It is structured as "`project_id`,`credentials_group_id`,`credential_id`".
|
||||
- `name` (String)
|
||||
- `secret_access_key` (String, Sensitive)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue