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

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