Skip to content

Conversation

@onecer
Copy link

@onecer onecer commented Dec 17, 2025

fixes: #3657

tencentcloud_teo_origin_group.origin_group
tencentcloud_teo_l7_acc_setting

apply twice always update

@onecer onecer changed the title tencentcloudstack/terraform-provider-tencentcloud; tencentcloud_teo_origin_group and tencentcloud_teo_l7_acc_setting apply always update fix: tencentcloud_teo_origin_group and tencentcloud_teo_l7_acc_setting apply always update Dec 18, 2025
@onecer onecer changed the title fix: tencentcloud_teo_origin_group and tencentcloud_teo_l7_acc_setting apply always update fix: [${ticket-id}] tencentcloud_teo_origin_group and tencentcloud_teo_l7_acc_setting apply always update Dec 18, 2025
@onecer onecer changed the title fix: [${ticket-id}] tencentcloud_teo_origin_group and tencentcloud_teo_l7_acc_setting apply always update fix: [123456789] tencentcloud_teo_origin_group and tencentcloud_teo_l7_acc_setting apply always update Dec 18, 2025

if *result.Response.SpaceSet[0].SpaceState != SPACE_STATE_ONLINE {
return resource.RetryableError(fmt.Errorf("create thpc workspaces status is %d, requestId is %s", *result.Response.SpaceSet[0].SpaceState, *result.Response.RequestId))
return resource.RetryableError(fmt.Errorf("create thpc workspaces status is %s, requestId is %s", *result.Response.SpaceSet[0].SpaceState, *result.Response.RequestId))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're right

if descp == "" {
rr = append(rr, title)
continue
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not recommended to change this, as it will affect the provider's generated document titles.
https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/latest/docs

example:
Clipboard_Screenshot_1766406302

_ = d.Set("zone_config", v)
return nil
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"zone_config" will be set at line 941
Clipboard_Screenshot_1766406425

"strings"
)

func teoOriginGroupRecordsHash(v interface{}) int {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this function for using a custom hash to perform resource migration verification?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tencentcloud_teo_origin_group and tencentcloud_teo_l7_acc_setting apply twice always update

2 participants