Error: Invalid character

From wikieduonline
Jump to navigation Jump to search
╷
│ Error: Invalid character
│
│   on main.tf line 15, in resource "aws_db_instance" "my_mariadb_instance":
│   15:   db_subnet_group_name =  ${module.vpc.database_subnet_group}
│
│ This character is not used within the language.
╵
Solution: make sure to use "${module.vpc.database_subnet_group}" between " "

See also

Advertising: