The best way to handle this is via a CloudWatch event that triggers a Lambda
when the EC2 is terminated to call the IPA REST API to remove the host.
No need for all the rigamorale you are doing.
___
FreeIPA-users mailing list -- freeipa-users@lists.fedo
Hi,
On Thu, Jul 28, 2022 at 11:13 PM Ranbir via FreeIPA-users <
freeipa-users@lists.fedorahosted.org> wrote:
> Hi Everyone,
>
> I migrated an Ubuntu 20.04 client from NIS authentication to an
> AlmaLinux 9 IdM domain. I purged the NIS package, installed the
> freeipa-client, successfully enrolled