Comments (9)
Thanks for reporting this, but I cannot reproduce this bug, it seems API doesn't return correct information as the document promised. Can you please open terraform debug log, like export TF_LOG=DEBUG
then run it again, and paste the log here?
from terraform-provider-tencentcloud.
2018-10-25T14:26:45.080+0800 [DEBUG] plugin.terraform-provider-tencentcloud_v1.2.2_x4: 2018/10/25 14:26:45 client.go:85: [DEBUG] [tencentcloud-sdk-go] request ended: action=DescribeSecurityGroupEx, url=https://dfw.api.qcloud.com/v2/index.php, params=map[Timestamp:[1540448801] Nonce:[7274928772206554761] Region:[ap-chongqing] Action:[DescribeSecurityGroupEx] projectId:[0] Signature:[] sgId:[sg-046r9ija] SecretId:[]], response={"code":0,"message":"","codeDesc":"Success","data":{"totalNum":0,"detail":[]}}
but it should be
curl -d "Action=DescribeSecurityGroups&Nonce=8117&Region=ap-chongqing&SecretId=AKID5ybBXdZ1KOCj03dOuDGAoDNHvQilLAXm&SecurityGroupIds.0=sg-046r9ija&Signature=****&Timestamp=1540449406&Version=2017-03-12" "https://vpc.ap-chongqing.tencentcloudapi.com"
from terraform-provider-tencentcloud.
can you attach the full log? if you feel too hard to mask the sensitive data, you can directly send it to [email protected]
ps: when terraform is developed, there is only api 2.0 available for vpc(dfw), so you will see the endpoint terraform requested is dfw.api.qcloud.com, not vpc.tencentcloudapi.com
from terraform-provider-tencentcloud.
@MartinForReal Hi, is there any update for this issue? We need advanced info to help us reproduce the problem and fix it. Thanks
from terraform-provider-tencentcloud.
Hi @zqfan,
I encountered this same error, but for a resource of type tencentcloud_cbs_storage:
* tencentcloud_cbs_storage.data: json: cannot unmarshal string into Go struct field .code of type int
Do you believe these errors have the same origin?
from terraform-provider-tencentcloud.
I think they both are caused by inconsistent APIs' response, sometimes API returns int type code, sometimes string while go expects int type then it fails
from terraform-provider-tencentcloud.
Hello @lubars
Do you still got this error when creating security group?
from terraform-provider-tencentcloud.
Hello @MartinForReal
We have refactoring the security_group, would you please have a try with the new release?
from terraform-provider-tencentcloud.
If there is any problems, please open a new issue.
from terraform-provider-tencentcloud.
Related Issues (20)
- cvm key_name err HOT 1
- Import sfc function get a error "Cannot import non-existent remote object"
- COS 可以支持元数据加速吗
- Support tencentcloud_private_dns_zone data source HOT 2
- Invalid mem_size in tencentcloud_redis_instance HOT 1
- After updating to 1.81.70, TencentCloud returns SDKError HOT 1
- Creation of tencentcloud_vod_sub_application is successful, but terraform returns invalid vod user HOT 1
- 使用 tencentcloud_security_groups 数据源资源获取的安全组id错误 HOT 3
- Link cvm to clb backend, an error "instance launch failed" throw HOT 1
- 1.81.77 incompatibility/broken ? HOT 3
- tencentcloud_cbs_storage_attachment 支持挂载存储后指定挂载路径及格式化文件系统
- tencentcloud_tcr_instance需要支持指定region以及开启COS多AZ特性 HOT 1
- 支持修改更新 TKE eniipamd 组件的全局配置 HOT 2
- TKE添加节点或者节点池,支持自定义脚本功能 HOT 1
- TKE查询集群节点信息支持Limit可配置或者默认值设为100 HOT 2
- 告警规则tencentcloud_monitor_alarm_policy不支持复合指标的创建
- v1.18.107版本创建es实例的时候kibana公网配置失效,并且配置参数OPEN无法识别
- v1.18.107 version tencentcloud_kubernetes_node_pool resource created faield as missing instance_name_style property
- v1.18.108 tencentcloud_kubernetes_scale_worker created resource failed when count > 1
- Tencentcloud_clb_target_group_instance_attachment create resource failed on v1.18.110
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-tencentcloud.