Difference between revisions of "Error: Unsupported attribute"

From wikieduonline
Jump to navigation Jump to search
(Created page with " ╷ │ Error: Unsupported attribute │ │ on main.tf line 15, in resource "aws_db_instance" "my_mariadb_instance": │ 15: db_subnet_group_name = module.vpc.m...")
 
Line 6: Line 6:
 
  │  15:  db_subnet_group_name =  module.vpc.my-vpc-name.database_subnet_group
 
  │  15:  db_subnet_group_name =  module.vpc.my-vpc-name.database_subnet_group
 
  │    ├────────────────
 
  │    ├────────────────
  │    │ module.vpc is a object, known only after apply
+
  │    │ [[module.vpc]] is a object, known only after apply
 
  │
 
  │
 
  │ This object does not have an attribute named "my-vpc-name".
 
  │ This object does not have an attribute named "my-vpc-name".

Revision as of 13:41, 2 June 2022

╷
│ Error: Unsupported attribute
│
│   on main.tf line 15, in resource "aws_db_instance" "my_mariadb_instance":
│   15:   db_subnet_group_name =  module.vpc.my-vpc-name.database_subnet_group
│     ├────────────────
│     │ module.vpc is a object, known only after apply
│
│ This object does not have an attribute named "my-vpc-name".
╵


See also

Advertising: