service-account

alxrem/service-account/yandex

Terraform Module HCL YANDEX

Terraform module which describes service account in Yandex Cloud

Install
module "service-account" {
source = "alxrem/service-account/yandex"
version = "3.0.0"
}
plain text: /constructs/tfmod-alxrem-service-account-yandex/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform Yandex Service Account module A terraform module to create a service account on Yandex Cloud. Module will manage service account, bindings to roles in the folder, static access keys of account, service account keys of account. Example usage ``terraform module "storage_admin" { source = "gitlab.com/tf-org-ru/service-account/yandex" version = "~> 2.0" name = "storage-admin" roles = ["storage.admin"] static_access_keys = {"default" = {}} } module "backup_sa" { source = "gitlab.com/tf-org-ru/service-account/yandex" version = "~> 2.0" name = "backup" service_account_key = {"default" = {}} } resource "yandex_storage_bucket" "default" { access_key = module.storage_admin.static_access_keys["default"]["access_key"] secret_key = module.storage_admin.static_access_keys["default"]["secret_ke

Inputs (6)
NameTypeDescriptionDefault
namestringName of the service account required
static_access_keysmap(object({ description = [Static access keys](https://cloud.yandex.com/docs/iam/operations/sa/create-ac{}
service_account_keysmap(object({ description [Authorized keys](https://cloud.yandex.com/docs/iam/concepts/authorization/key{}
descriptionstringDescription of the service account."Managed by terraform"
folder_idstringID of the folder that the service account will be created in. Defaults to the prnull
rolesset(string)Roles of the service account in the folder.[]
Outputs (4)
name — Name of the service account.
static_access_keys — Properties of the static access keys.
service_account_keys — Properties of the service account keys, including JSON representation of service account key a
id — ID of the service account.
Resources (4)
yandex_iam_service_accountyandex_iam_service_account_keyyandex_iam_service_account_static_access_keyyandex_resourcemanager_folder_iam_member
Details
FrameworkTerraform Module
LanguageHCL
Version3.0.0
Cloud YANDEX
★ Stars1
Forks0
Total downloads1.3k
Inputs6
Outputs4
Resources4
LicenseApache-2.0
Namespacealxrem
Updated