mirtov-alexey ddefab91d6 add iam module(update) il y a 3 ans
..
README.md e2287a9b9a add iam module il y a 3 ans
main.tf ddefab91d6 add iam module(update) il y a 3 ans
outputs.tf e2287a9b9a add iam module il y a 3 ans
variables.tf e2287a9b9a add iam module il y a 3 ans
versions.tf e2287a9b9a add iam module il y a 3 ans

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