Question
In terraform, the main elements of HCL configuration files are [...] , and within them, arguments.

blocks

^^^ example:

resource "aws_instance" "example" {
ami           = "ami-b374d5a5"
instance_type = "t2.micro"
}

where you have a block type of resource, with two labels ("aws_instance", which is resource type, and "example" which is your internal name for the resource). And within this resource block you have arguments, describing/declaring the resource.

Question
In terraform, the main elements of HCL configuration files are [...] , and within them, arguments.
?

Question
In terraform, the main elements of HCL configuration files are [...] , and within them, arguments.

blocks

^^^ example:

resource "aws_instance" "example" {
ami           = "ami-b374d5a5"
instance_type = "t2.micro"
}

where you have a block type of resource, with two labels ("aws_instance", which is resource type, and "example" which is your internal name for the resource). And within this resource block you have arguments, describing/declaring the resource.

#### Summary

status measured difficulty not learned 37% [default] 0

No repetitions