The ec2 instance filter filter_for_descriptor in abstract_component.rb contains the stackprefix, component and ec2 instance name. Do we really need the ec2 instance name ? As it should be enough to filter a aem instance for stack_prefix and component?
The reason is, after promoting the author standby as a author primary, the filter can't find the author-standby as a author primary instance, cause the name of the ec2 instance is still aem author standby.
The ec2 instance filter
filter_for_descriptorinabstract_component.rbcontains the stackprefix, component and ec2 instance name. Do we really need the ec2 instance name ? As it should be enough to filter a aem instance for stack_prefix and component?The reason is, after promoting the author standby as a author primary, the filter can't find the author-standby as a author primary instance, cause the name of the ec2 instance is still
aem author standby.