Overview
Strengths
Scenarios
string: A sequence of Unicode characters representing some text (such as "hello").number: A numeric value, which can be an integer or a decimal.bool: A Boolean value, which can be true or false.id = 123vpc_id = "123"status = true
list(...): A sequence of values identified by consecutive integers starting with 0.map(...): A set of values, each of which is identified by a string label.set(...): A set of unique values.object(...): A custom type that contains its own named attributes.tuple(...): A sequence of elements identified by consecutive integers starting with 0, where each element has its own type.null: An argument set to null is considered omitted. Terraform will automatically ignore the argument and use the default value.any: It is a very special type constraint in Terraform. It is not a type but simply a placeholder. Whenever a value is given a complex type constrained by any, Terraform will try to calculate the most accurate type to replace any.id = "123"
resource "tencentcloud_instance" "foo" {tags = {}vpc_id = "vpc-5bt2ix8p"}
#: A single-line comment followed by the comment content.//: A single-line comment followed by the comment content./* and */: Multi-line comments that might be span over multiple lines.Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários