data-result-mappings
Kagashino/data-result-mappings/tencentcloud
A terraform module contains static output keys of most of tencentcloud datasource result
Terraform Module TencentCloud Datasource result mappings What is this module? This module provides most of data "tencentcloud_" result keys e.g. instance_list, list, xxxwhatever_list mapping by its own data source name as output values. We're using command terraform providers schema -json to auto-generate these output keys. Why we need this module? Here shows the normal way to access TencentCloud datasources result: ``hcl data "tencentcloud_vpc_instances" "instance" {} data "tencentcloud_security_groups" "sg" {} output "vpc_list" { value = data.tencentcloud_vpc_instances.instance.instance_list } output "security_groups" { value = tencentcloud_security_groups.sg.security_groups } ` You can see the vpc returns instance_list but sg returns security_groups. Oh, man! We cannot remember every da
cbs_storagesclb_attachmentscynosdb_clusterskms_keysmonitor_product_namespacepostgresql_instancesapi_gateway_customer_domainsdomainsemrkey_pairstcr_repositoriesckafka_usersclb_target_groupsmysql_zone_configvod_image_sprite_templatesclb_redirectionsdayu_cc_http_policieselasticsearch_instancesgaap_certificatesroute_tablesqlserver_instancesvpn_gatewaysavailability_zonesclb_listener_rulescos_bucketscynosdb_zone_configdc_gateway_instancessecurity_groupseipsmonitor_binding_objects