We are able to create AWS dynamic host catalog and while trying to create hostset in it, irrespective of tag filters, it is allowing all hosts of the region into it.
Tag format used :
tag:tag_key=tag_value
Also we are able set filters while creating the host set plugin using commands, but the created hostset details are not appeared in boundary console.
Command used to create aws host catalog plugin:
./boundary host-catalogs create plugin -scope-id p_1234567890 -plugin-name aws -attr disable_credential_rotation=true -attr region=ap-south-1 -secret access_key_id=env://BOUNDARY_ACCESS_KEY_ID -secret secret_access_key=env://BOUNDARY_SECRET_ACCESS_KEY -addr=http://17X.XX.XX.XX:9200
Boundary create aws host set plugin:
./boundary host-sets create plugin -name cloudec2 -host-catalog-id $HOST_CATALOG_ID -attr filters=tag:boundary_connect=true -addr=http://17X.XX.XX.XX:9200