You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
│ Error: Error unmarshalling policy, please check the format of the policy document: json: cannot unmarshal object into Go struct field Statement.Statement.Resource of type []string
│
│ with huaweicloud_identity_role.assumeRole_glob_policy,
│ on base.tf line 1790, in resource "huaweicloud_identity_role" "assumeRole_glob_policy":
│ 1790: resource "huaweicloud_identity_role" "assumeRole_glob_policy" {
There are two custom policies in HuaweiCloud: for services and for agencies. Currently, the provider only supports custom policy for services as the JSON formats of them are different.
I will try to implement custom policy for agencies in the next release.
Not being able to create policy using a Resource type list.
Write a policy like this, but resource return must be []string only, I don't know what to do.
Terraform Version
Terraform Configuration Files
Crash Output
Steps to Reproduce
terraform init
terraform apply
References
(Optional) Assigning Permissions to an IAM User (by a Delegated Party)
The text was updated successfully, but these errors were encountered: