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 15, 2024Jul 15, 2024
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 4, 2024Jul 4, 2024
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 2, 20241Jul 2, 20241
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 1, 20241Jul 1, 20241
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 24, 2024Jun 24, 2024
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 21, 2024Jun 21, 2024
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 20, 2024Jun 20, 2024
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 17, 20241Jun 17, 20241
InLevel Up CodingbyJiadong ChenTerraform 101: variable, local, outputIn Terraform, variable, local, and output are used for different purposes:Jun 14, 2024Jun 14, 2024
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 13, 20241Jun 13, 20241
InLevel Up CodingbyJiadong ChenTerraform 101: Output module valuesThere are several reasons why you might want to output module values:Jun 13, 20241Jun 13, 20241