Comments (2)
Terraform version:
Terraform v0.12.6
+ provider.tencentcloud v1.16.0
Affected Resource:
tencentcloud_cvm
config files:
resource "tencentcloud_instance" "test" {
allocate_public_ip = true
availability_zone = "ap-shanghai-2"
image_id = "img-pi0ii46r"
instance_name = "Unnamed"
instance_type = "S4.SMALL2"
internet_max_bandwidth_out = 1
private_ip = "172.17.0.16"
security_groups = [
"sg-85ei5m7e",
]
subnet_id = "subnet-bq3v2fsr"
system_disk_size = 50
system_disk_type = "CLOUD_PREMIUM"
vpc_id = "vpc-khdn2ary"
tags = {
projectname="test-project"
ownername="yulei"
}
}
Expected behaviour:
tencent-cloud terraform apply
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# tencentcloud_instance.test will be created
+ resource "tencentcloud_instance" "test" {
+ allocate_public_ip = true
+ availability_zone = "ap-shanghai-2"
+ id = (known after apply)
+ image_id = "img-pi0ii46r"
+ instance_name = "Unnamed"
+ instance_status = (known after apply)
+ instance_type = "S4.SMALL2"
+ internet_max_bandwidth_out = 1
+ key_name = (known after apply)
+ private_ip = "172.17.0.16"
+ public_ip = (known after apply)
+ security_groups = [
+ "sg-85ei5m7e",
]
+ subnet_id = "subnet-bq3v2fsr"
+ system_disk_size = 50
+ system_disk_type = "CLOUD_PREMIUM"
+ tags = {
+ "ownername" = "yulei"
+ "projectname" = "test-project"
}
+ vpc_id = "vpc-khdn2ary"
+ data_disks {
+ data_disk_size = (known after apply)
+ data_disk_type = (known after apply)
+ delete_with_instance = (known after apply)
}
}
Plan: 1 to add, 0 to change, 0 to destroy.
Actual Behavior:
➜ tencent-cloud terraform apply
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# tencentcloud_instance.test will be created
+ resource "tencentcloud_instance" "test" {
+ allocate_public_ip = true
+ availability_zone = "ap-shanghai-2"
+ id = (known after apply)
+ image_id = "img-pi0ii46r"
+ instance_name = "Unnamed"
+ instance_status = (known after apply)
+ instance_type = "S4.SMALL2"
+ internet_max_bandwidth_out = 1
+ key_name = (known after apply)
+ private_ip = "172.17.0.16"
+ public_ip = (known after apply)
+ security_groups = [
+ "sg-85ei5m7e",
]
+ subnet_id = "subnet-bq3v2fsr"
+ system_disk_size = 50
+ system_disk_type = "CLOUD_PREMIUM"
+ tags = {
+ "ownername" = "yulei"
+ "projectname" = "test-project"
}
+ vpc_id = "vpc-khdn2ary"
+ data_disks {
+ data_disk_size = (known after apply)
+ data_disk_type = (known after apply)
+ delete_with_instance = (known after apply)
}
}
Plan: 1 to add, 0 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
tencentcloud_instance.test: Creating...
Error: tencentcloud_instance got error, code:InvalidTagKey.Reserved, message:The specified tagKey is Reserved., request id:013ec71c-233a-4ae9-8c0b-2399b04f361a
on tencentcloud.tf line 2, in resource "tencentcloud_instance" "test":
2: resource "tencentcloud_instance" "test" {
from terraform-provider-tencentcloud.
Hello,
Tag key starting with project is system reserved.
Limits on Tag Keys
A tag key starting with "qcs:" or "project" is a system reserved tag key and cannot be created.
refer: https://intl.cloud.tencent.com/document/product/651/13354
from terraform-provider-tencentcloud.
Related Issues (20)
- private_dns_zone example error
- Resource tencentcloud_subnet is having internal error.
- [CLB] CLB add column SlaType HOT 2
- The order of elements in `security_group_ids` has changed after Terraform apply HOT 3
- Bug in documentation for TKE kubernetes_node_pool resource HOT 2
- bug on security_group_lite_rule
- Cannot create CVM with CLOUD_HSSD
- Failed to create tencentcloud_dc_gateway_ccn_route resource
- 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
- 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 2
- 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
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.