Terraform reference for Yandex Identity and Access Management
Written by
Updated at November 14, 2024
With Terraform
If you change the configuration files, Terraform automatically detects which part of your configuration is already deployed, and what should be added or removed.
For more information about Terraform, see the documentation.
Resources
The following Terraform provider resources are supported for Identity and Access Management:
Terraform resource | Yandex Cloud resource |
---|---|
yandex_iam_service_account |
Service account |
yandex_iam_service_account_api_key |
API key |
yandex_iam_service_account_iam_binding |
Assigning service account access permissions. It has a limit of 1,000 bindings per resource. We recommend using iam_service_account_iam_binding instead of iam_service_account_iam_member . |
yandex_iam_service_account_iam_member |
Assigning service account access permissions. |
yandex_iam_service_account_iam_policy |
Sets the service account access policy and replaces any specified policy. |
yandex_iam_service_account_key |
Authorized key |
yandex_iam_service_account_static_access_key |
Static key |
Data sources
Identity and Access Management supports the following Terraform provider data sources:
Terraform data source | Description |
---|---|
yandex_iam_policy |
Access policy information |
yandex_iam_role |
Role information |
yandex_iam_service_account |
Service account information |
yandex_iam_user |
User information |