amazon web services - Undefined resource AWSEBLoadBalancer -


i trying create eb application using eb cli multiple docker container. have applications running on 2 ports need listen on ports. tried configuration on .ebextensions/elb-listeners.config encounter error of error: service:amazoncloudformation, message:template error: instance of fn::getatt references undefined resource awsebloadbalancer. below 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 know did miss? i'm newbie in aws sorry ignorance. appreciated.

thanks!


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -