Create a similar network in Azure
-
Resource creation order
- Resource group
- Virtual network
- subnet
- Refer Here for changes
-
Exercise: Ensure you create two types of subnets
- public
- private
output section in terrform
- Refer Here for terraform output block
- Refer Here for changes done to display output in terraform.
Exercise:
- While defining a variable we can make it optional by giving default value
variable "xyz" {
type = string
default = "hello"
}
- my problem is if age is not passed i want to 21 as default age
variable "xyz" {
type = object({
name = string
age = number
})
}
