Skip to content

tf-cloud-modules/terraform-sbercloud-kms-key

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sbercloud KMS Key Terraform module

How to Configure Terraform for Sbercloud

export SBC_ACCESS_KEY="xxxx-xxx-xxx"
export SBC_SECRET_KEY="xxxx-xxx-xxx"

Provider configuration

provider "sbercloud" {
  auth_url = "https://iam.ru-moscow-1.hc.sbercloud.ru/v3"
  region   = "ru-moscow-1"
}

Usage

module "kms_key" {
    source  = "tf-cloud-modules/kms-key/sbercloud"

    key_alias = "kms-test"
}

Requirements

Name Version
terraform >= 0.13.1
sbercloud >= 1.9.0, < 2.0.0

Providers

Name Version
sbercloud 1.10.0

Modules

No modules.

Resources

Name Type
sbercloud_kms_key.this resource

Inputs

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

Outputs

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.

About

Sbercloud KMS Key Terraform module

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages