Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

instance descriptor filter #10

Open
mbloch1986 opened this issue Feb 19, 2018 · 2 comments
Open

instance descriptor filter #10

mbloch1986 opened this issue Feb 19, 2018 · 2 comments
Labels
bug Something isn't working

Comments

@mbloch1986
Copy link
Contributor

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.

@mbloch1986 mbloch1986 added the question Further information is requested label Feb 19, 2018
@mbloch1986
Copy link
Contributor Author

mbloch1986 commented Feb 19, 2018

Filter atm:

{
        filters: [
          { name: 'tag:StackPrefix', values: [@descriptor.stack_prefix] },
          { name: 'tag:Component', values: [@descriptor.ec2.component] },
          { name: 'tag:Name', values: [@descriptor.ec2.name] }
        ]
      }

Filter only by stackprefix and component

      {
        filters: [
          { name: 'tag:StackPrefix', values: [@descriptor.stack_prefix] },
          { name: 'tag:Component', values: [@descriptor.ec2.component] },
        ]
      }

@mbloch1986 mbloch1986 added bug Something isn't working and removed question Further information is requested labels Nov 11, 2019
@mbloch1986
Copy link
Contributor Author

I'm turning this into a bug, since the consolidated ruby_aem_aws client isn't working due to this filter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant