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

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