- Sbercloud Quickstart
- Add environment variables for terraform authentication in Sbercloud
export SBC_ACCESS_KEY="xxxx-xxx-xxx"
export SBC_SECRET_KEY="xxxx-xxx-xxx"
provider "sbercloud" {
auth_url = "https://iam.ru-moscow-1.hc.sbercloud.ru/v3"
region = "ru-moscow-1"
}
module "kms_key" {
source = "tf-cloud-modules/kms-key/sbercloud"
key_alias = "kms-test"
}
Name | Version |
---|---|
terraform | >= 0.13.1 |
sbercloud | >= 1.9.0, < 2.0.0 |
Name | Version |
---|---|
sbercloud | 1.10.0 |
No modules.
Name | Type |
---|---|
sbercloud_kms_key.this | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
create | Controls if resources should be created. | bool |
true |
no |
enterprise_project_id | The enterprise project id of the kms key. | string |
null |
no |
is_enabled | Specifies whether the key is enabled. Defaults to true. Changing this updates the state of existing key. | bool |
null |
no |
key_alias | The alias in which to create the key. | string |
n/a | yes |
key_description | The description of the key as viewed in Sber console. | string |
null |
no |
pending_days | Duration in days after which the key is deleted after destruction of the resource, must be between 7 and 1096 days. | string |
null |
no |
region | The region in which to create the KMS key resource. | string |
null |
no |
tags | Specifies the key/value pairs to associate with the kms key. | map(string) |
null |
no |
Name | Description |
---|---|
domain_id | ID of a user domain for the key. |
id | Specifies a resource ID in UUID format. |
key_id | The globally unique identifier for the key. |