mirtov-alexey ddefab91d6 add iam module(update) 3 vuotta sitten
..
README.md e2287a9b9a add iam module 3 vuotta sitten
main.tf ddefab91d6 add iam module(update) 3 vuotta sitten
outputs.tf e2287a9b9a add iam module 3 vuotta sitten
variables.tf e2287a9b9a add iam module 3 vuotta sitten
versions.tf e2287a9b9a add iam module 3 vuotta sitten

README.md

Create service accounts and assign roles to IAM users

Remember to change your folder-ID in variables.

Configure Terraform for Yandex.Cloud

  • Install YC cli
  • Add environment variables for terraform auth in Yandex.Cloud
export YC_TOKEN=$(yc iam create-token)
export YC_CLOUD_ID=$(yc config get cloud-id)
export YC_FOLDER_ID=$(yc config get folder-id)

Quick Start

To run this example you need to execute:

terraform init
terraform plan
terraform apply