Skip to content

Data source alicloud_cdn_service: The CDN internet_charge_type shouldn't be modified silently #9710

Description

@WeiZhixiong

The dataSourceAliCloudCdnServiceRead function in alicloud/data_source_alicloud_cdn_service.go may silently modify the internet_charge_type under specific conditions, potentially causing major issues.

Image

Shouldn't modify the internet_charge_type be an explicit modification?

Why is ModifyCdnService being called in dataSourceAliCloudCdnServiceRead? This is a read method, not a modify method

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions