Skip to content

ERROR: Unsupported attribute - This object does not have an attribute named "this_security_group_id". #3

@calidude25

Description

@calidude25

$ 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".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions