Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
aws-tools-for-powershell
The AWS Tools for PowerShell lets developers and administrators manage their AWS services from the PowerShell scripting environment.
In this article, we will focus on two scripts, one to start the drift detection, and another to collect the drift detection results. The scripts are in the Github repository cloudgnosis/tidycloud-aws-utilities https://github.com/cloudgnosis/tidycloud-aws-utilities/tree/main/cloudformation/scripts.
Unfortunately, PowerShell does not come with any good tools to make diffs for JSON data, which would have been useful. There are a few other tools that may be of use in that regard, for example jd.
One of these toolsets is targeted specifically towards PowerShell users and its name is AWS Tools for PowerShell. It is an open-source project and the source code is available on Github at https://github.com/aws/aws-tools-for-powershell/. It is available from PowerShell Gallery (https://www.powershellgallery.com) as an add-on modules to PowerShell, and it is available as a zip file download from AWS as well.