Mirtov Alexey 33d0bd4365 add english | пре 2 година | |
---|---|---|
.. | ||
images | пре 2 година | |
README.md | пре 2 година | |
README_RU.md | пре 2 година | |
main.tf | пре 2 година | |
variables.tf | пре 2 година | |
versions.tf | пре 2 година |
Terraform script performs the following:
The solution accepts the following input:
Functionality:
variable "token" {
description = "Yandex.Cloud security OAuth token"
default = "key.json" # generate yours: https://cloud.yandex.ru/docs/iam/concepts/authorization/OAuth-token
}
variable "folder_id" {
description = "Yandex.Cloud Folder ID where resources will be created"
default = "xxxxxx" # yc config get folder-id
}
variable "cloud_id" {
description = "Yandex.Cloud ID where resources will be created"
default = "xxxxxx" #yc config get cloud-id
}
variable "all-access-users" {
description = ""
default = ["federatedUser:ajesnkfkxxxxxxxxxxxx", "federatedUser:ajeurmedxxxxxxxxxxxx"]
}
variable "read-only-sa" {
description = ""
default = ["serviceAccount:ajeph8f8xxxxxxxxxxxx", "serviceAccount:aje066slxxxxxxxxxxxx"]
}
variable "write-only-sa" {
description = "sa"
default = ["serviceAccount:ajem3ef7xxxxxxxxxxxx", "serviceAccount:aje1ngf4xxxxxxxxxxxx"]
}