InLevel Up CodingbyJiadong ChenTerraform 101: Dynamic BlocksDynamic blocks in Terraform allow you to dynamically construct repeatable nested blocks within a resource or data configuration. This…Jul 15Jul 15
InLevel Up CodingbyJiadong ChenTerraform 101: Resources ImportThe terraform import command is used to import existing infrastructure into your Terraform state. This allows Terraform to manage, update…Jul 4Jul 4
InLevel Up CodingbyJiadong ChenTerraform 101: Terraform Version ConstraintsIn Terraform, you can restrict a provider’s version using the required_providers block within a terraform block in your configuration…Jul 21Jul 21
InLevel Up CodingbyJiadong ChenTerraform 101: Terraform Provider AliasesTo create multiple instances of a provider in Terraform, especially for Azure, you can define multiple provider blocks with different…Jul 11Jul 11
InLevel Up CodingbyJiadong ChenTerraform 101: Terraform Workspace ExampleTerraform workspaces allow you to manage different states of your infrastructure parallelly. This feature is useful for managing multiple…Jun 24Jun 24
InLevel Up CodingbyJiadong ChenTerraform 101: for_each usageThe for_each argument in Terraform allows you to create multiple instances of a resource based on a map or a set of strings. It creates a…Jun 21Jun 21
InLevel Up CodingbyJiadong ChenTerraform 101: destroy resources methodsTo destroy resources managed by Terraform, you can use the terraform destroy command. This command will destroy all resources that are…Jun 20Jun 20
InLevel Up CodingbyJiadong ChenTerraform 101: types of variablesIn Terraform, the type of variable you use depends on the kind of data you need to represent. Here’s a guide on when to use each type:Jun 171Jun 171
InLevel Up CodingbyJiadong ChenTerraform 101: variable, local, outputIn Terraform, variable, local, and output are used for different purposes:Jun 14Jun 14
InLevel Up CodingbyJiadong ChenTerraform 101: Set remote backendIn Terraform, the term “backend” refers to the system used to store the Terraform state file. The state file is a JSON file that Terraform…Jun 131Jun 131
InLevel Up CodingbyJiadong ChenTerraform 101: Output module valuesThere are several reasons why you might want to output module values:Jun 131Jun 131