This repository was archived by the owner on Feb 4, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
This repository was archived by the owner on Feb 4, 2026. It is now read-only.
Undefined resource AWSEBLoadBalancer #2
Copy link
Copy link
Open
Description
Hello ~
I am trying to create an eb application using eb cli with Multiple Docker Container. I have an applications running on 2 ports so I need to listen on those ports. I tried your configuration on your .ebextensions/elb-listeners.config but I encounter an error of ERROR: Service:AmazonCloudFormation, Message:Template error: instance of Fn::GetAtt references undefined resource AWSEBLoadBalancer. Below is my configuration.
option_settings:
aws:elb:listener:8745:
ListenerProtocol: HTTP
InstanceProtocol: HTTP
InstancePort: 8745
aws:elb:listener:3517:
ListenerProtocol: HTTP
InstanceProtocol: HTTP
InstancePort: 3517
Resources:
port8745SecurityGroupIngress:
Type: AWS::EC2::SecurityGroupIngress
Properties:
GroupName: {Ref : AWSEBSecurityGroup}
IpProtocol: tcp
ToPort: 8745
FromPort: 8745
SourceSecurityGroupName: { "Fn::GetAtt": ["AWSEBLoadBalancer", "SourceSecurityGroup.GroupName"] }
SourceSecurityGroupOwnerId: { "Fn::GetAtt": ["AWSEBLoadBalancer", "SourceSecurityGroup.OwnerAlias"] }
port3517SecurityGroupIngress:
Type: AWS::EC2::SecurityGroupIngress
Properties:
GroupName: {Ref : AWSEBSecurityGroup}
IpProtocol: tcp
ToPort: 3517
FromPort: 3517
SourceSecurityGroupName: { "Fn::GetAtt": ["AWSEBLoadBalancer", "SourceSecurityGroup.GroupName"] }
SourceSecurityGroupOwnerId: { "Fn::GetAtt": ["AWSEBLoadBalancer", "SourceSecurityGroup.OwnerAlias"] }
Do you know where did I miss? I'm a newbie in AWS so sorry for my ignorance. Your help will be much appreciated.
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels