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
Description: lang.Markdown("TencentCloud Security Token of temporary access credentials. It can be sourced from the `TENCENTCLOUD_SECURITY_TOKEN` environment variable. Notice: for supported products, please refer to: [temporary key supported products](https://intl.cloud.tencent.com/document/product/598/10588)."),
Description: lang.Markdown("The `assume_role` block. If provided, terraform will attempt to assume this role using the supplied credentials."),
95
+
Body: &schema.BodySchema{
96
+
Attributes: map[string]*schema.AttributeSchema{
97
+
"role_arn": {
98
+
Constraint: schema.LiteralType{Type: cty.String},
99
+
IsRequired: true,
100
+
Description: lang.Markdown("The ARN of the role to assume. It can be sourced from the `TENCENTCLOUD_ASSUME_ROLE_ARN`."),
101
+
},
102
+
"session_name": {
103
+
Constraint: schema.LiteralType{Type: cty.String},
104
+
IsRequired: true,
105
+
Description: lang.Markdown("The session name to use when making the AssumeRole call. It can be sourced from the `TENCENTCLOUD_ASSUME_ROLE_SESSION_NAME`."),
106
+
},
107
+
"session_duration": {
108
+
Constraint: schema.LiteralType{Type: cty.Number},
109
+
IsRequired: true,
110
+
Description: lang.Markdown("The duration of the session when making the AssumeRole call. Its value ranges from 0 to 43200(seconds), and default is 7200 seconds. It can be sourced from the `TENCENTCLOUD_ASSUME_ROLE_SESSION_DURATION`."),
111
+
},
112
+
"policy": {
113
+
Constraint: schema.LiteralType{Type: cty.String},
114
+
IsOptional: true,
115
+
Description: lang.Markdown("A more restrictive policy when making the AssumeRole call. Its content must not contains `principal` elements. Notice: more syntax references, please refer to: [policies syntax logic](https://intl.cloud.tencent.com/document/product/598/10603)."),
0 commit comments