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

filtering out EC2DHCPOption for the default VPC #693

Closed
bentterp opened this issue Oct 6, 2021 · 1 comment · Fixed by #694
Closed

filtering out EC2DHCPOption for the default VPC #693

bentterp opened this issue Oct 6, 2021 · 1 comment · Fixed by #694

Comments

@bentterp
Copy link

bentterp commented Oct 6, 2021

I think we are missing a way of filtering out the EC2DHCPOption for the default VPC.
I have a preset for leaving the normal resources created for the default VPC in place, except for the dhcp option set:

presets:
  defaultvpc:
    filters:
      EC2VPC:
      - property: IsDefault
        value: "true"
      EC2InternetGateway:
      - property: DefaultVPC
        value: "true"
      EC2InternetGatewayAttachment:
      - property: DefaultVPC
        value: "true"
      EC2Subnet:
      - property: DefaultVPC
        value: "true"
      EC2RouteTable:
      - property: DefaultVPC
        value: "true"

Of course this depends on #691

But there is nothing which indicates that a DHCP option set is used by the default VPC, so I have nothing to filter on.

@ga-paul-t
Copy link
Contributor

I have raised #694 to address this. I must have missed this out with my original work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants