aliyun / terraform-provider-alicloud

Terraform AliCloud provider
https://www.terraform.io/docs/providers/alicloud/
Mozilla Public License 2.0
590 stars 553 forks source link

Feature Request: Add ability to assume role in provider block #1068

Closed programmer04 closed 5 years ago

programmer04 commented 5 years ago

Introduction

Mechanism of assuming Role by one account to operate in another (cross-account access) is similar for Alibaba and AWS.
 This feature is very useful in enterprise environments for managing multiple accounts in a secure and convenient way.

Feature request

Terraform AWS provider supports it out of the box. Inside block provider "aws" { ... }, a user needs only fill assume_role { ... } to achieve the above scenario (please see in docs). But unfortunately for Terraform Alibaba provider (please see in docs), I cannot find this functionality, I would like to request for adding its.

xiaozhu36 commented 5 years ago

HI @programmer04 This issue has been fixed by 1.46.0. Please check it.

programmer04 commented 5 years ago

@xiaozhu36 I checked it. Everything works as expected. Thanks for collaboration.

xiaozhu36 commented 5 years ago

@programmer04 Great! Thanks for your contribution.

Song2017 commented 2 months ago

hey, where can I find a guideline?