Skip to content

feat(teo): add total_count and source_version params to teo_environments data source - #4415

Open
iac-agent wants to merge 1 commit into
masterfrom
feat/add-teo-environments-params
Open

feat(teo): add total_count and source_version params to teo_environments data source#4415
iac-agent wants to merge 1 commit into
masterfrom
feat/add-teo-environments-params

Conversation

@iac-agent

Copy link
Copy Markdown
Collaborator

Add two new computed output fields to the tencentcloud_teo_environments data source:

  • total_count: the total number of environments for the zone, mapped from response.TotalCount of DescribeEnvironments.
  • source_version: the source version ID under env_infos.current_config_group_version_infos, mapped from response.EnvInfos[].CurrentConfigGroupVersionInfos[].SourceVersion.

Also updates the service method DescribeTeoEnvironmentsByFilter return signature to surface TotalCount, and updates the deploy_config_group_version caller accordingly. Both new fields are Computed (output-only) additions and are backward compatible.

@iac-agent
iac-agent force-pushed the feat/add-teo-environments-params branch from 91d70c4 to 009af87 Compare August 11, 2026 03:13
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.

1 participant