* chore(examples): Add import examples for all resources Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de> * Add guide: How to import resources Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de> --------- Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
1.9 KiB
1.9 KiB
| page_title | subcategory | description |
|---|---|---|
| stackit_objectstorage_credentials_group Resource - stackit | ObjectStorage credentials group resource schema. Must have a region specified in the provider configuration. If you are creating credentialsgroup and bucket resources simultaneously, please include the depends_on field so that they are created sequentially. This prevents errors from concurrent calls to the service enablement that is done in the background. |
stackit_objectstorage_credentials_group (Resource)
ObjectStorage credentials group resource schema. Must have a region specified in the provider configuration. If you are creating credentialsgroup and bucket resources simultaneously, please include the depends_on field so that they are created sequentially. This prevents errors from concurrent calls to the service enablement that is done in the background.
Example Usage
resource "stackit_objectstorage_credentials_group" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "example-credentials-group"
}
# Only use the import statement, if you want to import an existing objectstorage credential group
import {
to = stackit_objectstorage_credentials_group.import-example
id = "${var.project_id},${var.region},${var.bucket_credentials_group_id}"
}
Schema
Required
name(String) The credentials group's display name.project_id(String) Project ID to which the credentials group is associated.
Optional
region(String) The resource region. If not defined, the provider region is used.
Read-Only
credentials_group_id(String) The credentials group IDid(String) Terraform's internal data source identifier. It is structured as "project_id,region,credentials_group_id".urn(String) Credentials group uniform resource name (URN)