Terraform Tutorials: Variables – Data Type – Map
In this example, the instance_tags variable is defined with a type of map(string), and it is given a default value of { Name = “my-instance” }. The AWS provider is then configured to use the us-west-2 region. The aws_instance resource is used to launch Amazon EC2 instances. The tags argument is used to assign tags…
