$ terraform plan
╷
│ Error: Unsupported attribute
│
│ on main.tf line 66, in module "efs_sg":
│ 66: source_security_group_id = module.instance_sg.this_security_group_id
│ ├────────────────
│ │ module.instance_sg is a object, known only after apply
│
│ This object does not have an attribute named "this_security_group_id".
╵
╷
│ Error: Unsupported attribute
│
│ on main.tf line 93, in resource "aws_efs_mount_target" "efs_mount":
│ 93: security_groups = [module.efs_sg.this_security_group_id]
│ ├────────────────
│ │ module.efs_sg is a object, known only after apply
│
│ This object does not have an attribute named "this_security_group_id".
╵
╷
│ Error: Unsupported attribute
│
│ on main.tf line 122, in module "auto_scaling":
│ 122: security_groups = [module.instance_sg.this_security_group_id]
│ ├────────────────
│ │ module.instance_sg is a object, known only after apply
│
│ This object does not have an attribute named "this_security_group_id".
╵
╷
│ Error: Unsupported attribute
│
│ on main.tf line 162, in module "elb_http":
│ 162: security_groups = [module.instance_sg.this_security_group_id]
│ ├────────────────
│ │ module.instance_sg is a object, known only after apply
│
│ This object does not have an attribute named "this_security_group_id".
$ terraform plan
╷
│ Error: Unsupported attribute
│
│ on main.tf line 66, in module "efs_sg":
│ 66: source_security_group_id = module.instance_sg.this_security_group_id
│ ├────────────────
│ │ module.instance_sg is a object, known only after apply
│
│ This object does not have an attribute named "this_security_group_id".
╵
╷
│ Error: Unsupported attribute
│
│ on main.tf line 93, in resource "aws_efs_mount_target" "efs_mount":
│ 93: security_groups = [module.efs_sg.this_security_group_id]
│ ├────────────────
│ │ module.efs_sg is a object, known only after apply
│
│ This object does not have an attribute named "this_security_group_id".
╵
╷
│ Error: Unsupported attribute
│
│ on main.tf line 122, in module "auto_scaling":
│ 122: security_groups = [module.instance_sg.this_security_group_id]
│ ├────────────────
│ │ module.instance_sg is a object, known only after apply
│
│ This object does not have an attribute named "this_security_group_id".
╵
╷
│ Error: Unsupported attribute
│
│ on main.tf line 162, in module "elb_http":
│ 162: security_groups = [module.instance_sg.this_security_group_id]
│ ├────────────────
│ │ module.instance_sg is a object, known only after apply
│
│ This object does not have an attribute named "this_security_group_id".