backend/oss: Removes the deprecated warning for configuraion variable assume_role

This commit is contained in:
guimin.hgm 2023-05-17 16:48:30 +08:00 committed by Martin Atkins
parent 34c0e915dc
commit ce8790c939

View File

@ -40,10 +40,10 @@ import (
// Deprecated in favor of flattening assume_role_* options
func deprecatedAssumeRoleSchema() *schema.Schema {
return &schema.Schema{
Type: schema.TypeSet,
Optional: true,
MaxItems: 1,
Deprecated: "use assume_role_* options instead",
Type: schema.TypeSet,
Optional: true,
MaxItems: 1,
//Deprecated: "use assume_role_* options instead",
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"role_arn": {