Difference between revisions of "Error: Invalid character"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
│ | │ | ||
│ on main.tf line 15, in resource "aws_db_instance" "my_mariadb_instance": | │ on main.tf line 15, in resource "aws_db_instance" "my_mariadb_instance": | ||
− | │ 15: db_subnet_group_name = ${module.vpc.database_subnet_group} | + | │ 15: db_subnet_group_name = ${[[module.vpc.database_subnet_group]]} |
│ | │ | ||
│ [[This character is not used within the language]]. | │ [[This character is not used within the language]]. |
Latest revision as of 15:33, 2 June 2022
╷ │ 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[edit]
Advertising: