Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.18.107 version tencentcloud_kubernetes_node_pool resource created faield as missing instance_name_style property #2722

Open
troyqu opened this issue Jul 12, 2024 · 0 comments

Comments

@troyqu
Copy link

troyqu commented Jul 12, 2024

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

➜ 05-kubernetes git:(feature_smartops) ✗ tf version
Terraform v1.8.4
on darwin_amd64

  • provider registry.terraform.io/tencentcloudstack/tencentcloud v1.81.107

Your version of Terraform is out of date! The latest version
is 1.9.2. You can update by downloading from https://www.terraform.io/downloads.html
➜ 05-kubernetes git:(feature_smartops) ✗

Affected Resource(s)

  • tencentcloud_kubernetes_node_pool

Terraform Configuration Files

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key: https://keybase.io/hashicorp

Debug Output

nothing

Panic Output

module.tencentcloud_kubernetes_cluster.module.tencentcloud_kubernetes_node_pool["TKE-NL-TKE-SmartOps"].tencentcloud_kubernetes_node_pool.items: Creating...
╷
│ Error: [TencentCloudSDKError] Code=InvalidParameter.Param, Message=PARAM_ERROR(InstanceNameStyle is empty), RequestId=1a40ca0c-87c0-4074-9f40-ae46797fa522
│ 
│   with module.tencentcloud_kubernetes_cluster.module.tencentcloud_kubernetes_node_pool["TKE-NL-TKE-SmartOps"].tencentcloud_kubernetes_node_pool.items,
│   on ../../../../../../terraform.cloudbase.modules/tencentcloud/tencentcloud_kubernetes_node_pool/main.tf line 32, in resource "tencentcloud_kubernetes_node_pool" "items":
│   32: resource "tencentcloud_kubernetes_node_pool" "items" {
│ 
╵
➜  05-kubernetes git:(feature_smartops) ✗ 

Expected Behavior

resource create success

Actual Behavior

resource create failed and console output error

Steps to Reproduce

  1. terraform apply

Important Factoids

after i checked the provider source code, i found no instancenamestyle related properties, error happend when provider call sdk to create resource, exception info refer to Panic output part.

node pool resource schema source code snapshot
image

References

https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/latest/docs/resources/kubernetes_node_pool
https://www.tencentcloud.com/zh/document/api/377/31018#instancenamesettings

  • #0000
@troyqu troyqu changed the title tencentcloud_kubernetes_node_pool资源缺失instance_name_style属性导致资源开通失败 v1.18.107版本tencentcloud_kubernetes_node_pool资源缺失instance_name_style属性导致资源开通失败 Jul 12, 2024
@troyqu troyqu changed the title v1.18.107版本tencentcloud_kubernetes_node_pool资源缺失instance_name_style属性导致资源开通失败 v1.18.107 version tencentcloud_kubernetes_node_pool resource created faield as missing instance_name_style property Jul 16, 2024
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

No branches or pull requests

1 participant