I am upgrading my terraform version from v0.11 to v1.0 but finding it difficult to get this to work. Please can someone help me.
locals {
asgtags = tolist(
map(“key”, “Environment”, “value”, var.environment_tag, “propagate_at_launch”, true),
map(“key”, “Operating_system”, “value”, var.operating_systems_tag, “propagate_at_launch”, true),
map(“key”, “Application_name”, “value”, var.application_name_tag, “propagate_at_launch”, true),
map(“key”, “Project_id”, “value”, var.project_id_tag, “propagate_at_launch”, true),
map(“key”, “Start_time”, “value”, var.start_time_tag, “propagate_at_launch”, true),
map(“key”, “Stop_time”, “value”, var.stop_time_tag, “propagate_at_launch”, true),
map(“key”, “Weekend_hours”, “value”, var.weekend_hours_tag, “propagate_at_launch”, true),
map(“key”, “Backup”, “value”, var.backup_tag, “propagate_at_launch”, true),
map(“key”, “Backup_retention”, “value”, var.backup_retention_tag, “propagate_at_launch”, true),
map(“key”, “Awx_template”, “value”, var.awx_template_tag, “propagate_at_launch”, true)
)
}