运行 terraform init 时出现此错误:
Error: Extraneous label for module
on rds.tf line 22, in module "rds" "app":
22: module "rds" "app" {
Only 1 labels (name) are expected for module blocks.
我有两个模块创建了“rds”和“app”,我在创建数据库实例时都引用了它们:
# PostgreSQL RDS App Instance
module "rds" "app" {
如何修复此错误?