File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -730,7 +730,7 @@ func Provider() terraform.ResourceProvider {
730730 "tencentcloud_monitor_policy_group" : resourceTencentMonitorPolicyGroup (),
731731 "tencentcloud_monitor_binding_object" : resourceTencentMonitorBindingObject (),
732732 "tencentcloud_monitor_binding_receiver" : resourceTencentMonitorBindingAlarmReceiver (),
733- "tencentcloud_mongodb_standby_instance" : resourceTencentCloudMongodbStandbyInstance (),
733+ "tencentcloud_mongodb_standby_instance" : resourceTencentCloudMongodbStandbyInstance (),
734734 "tencentcloud_elasticsearch_instance" : resourceTencentCloudElasticsearchInstance (),
735735 "tencentcloud_postgresql_instance" : resourceTencentCloudPostgresqlInstance (),
736736 "tencentcloud_sqlserver_instance" : resourceTencentCloudSqlserverInstance (),
@@ -767,8 +767,7 @@ func providerConfigure(d *schema.ResourceData) (interface{}, error) {
767767
768768 // assume role client
769769 assumeRoleList := d .Get ("assume_role" ).(* schema.Set ).List ()
770- if len (assumeRoleList )
771- 1 {
770+ if len (assumeRoleList ) == 1 {
772771 assumeRole := assumeRoleList [0 ].(map [string ]interface {})
773772 assumeRoleArn := assumeRole ["role_arn" ].(string )
774773 assumeRoleSessionName := assumeRole ["session_name" ].(string )
You can’t perform that action at this time.
0 commit comments