# Exclude EC2 Instance from Import

**URL:** <https://community.icinga.com/t/exclude-ec2-instance-from-import/12665>\
**Category:** Events and Community\
**Tags:** aws\
**Created:** [September 26, 2023, 7:53pm UTC](https://community.icinga.com/t/exclude-ec2-instance-from-import/12665 "2023-09-26T19:53:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mlevesque1975](https://community.icinga.com/letter_avatar_proxy/v4/letter/m/aca169/32.png) [@mlevesque1975](https://community.icinga.com/u/mlevesque1975)\
**Post date:** [September 26, 2023, 7:53pm UTC](https://community.icinga.com/t/exclude-ec2-instance-from-import/12665/1 "2023-09-26T19:53:51Z")

</div>

I am using the aws module to import EC2 instances.  
I have a tag set in AWS (rcs:platform\_identity) with the value set to exclude.  
I do not want the EC2 instances with this value to be imported.

Can anyone offer any guidance on how and where I can add a rule in Director to exclude those instances from Import?
