BEGIN:VCALENDAR
VERSION:2.0
PRODID:jquery.icalendar
BEGIN:VEVENT
ORGANIZER:MAILTO:admin@powershell.org
TITLE:aC the world! as-Code for anything
DTSTART:20220426T180000Z
DTEND:20220426T184500Z
SUMMARY:aC the world! as-Code for anything
DESCRIPTION:The concept of *-as-Code is truly brilliant. But what happens when your as-Code tool of choice doesn?t support some business-critical platform? With some planned JSON and smart PowerShell, we can aC the world!Configuration management and Infrastructure as Code are all the rage, but the adoption of tooling standards (DSC, Terraform, etc) abstracts the application of those configs and leaves many of us begging to be able to apply our ?as-Code? tool of choice to other things without realizing how easy it would be to do ourselves. In this session, I want to awaken capabilities that already exist in your mind. The power to aC anything using your existing PowerShell knowledge, a descent module, and some planned out JSON.The PowerShell part is easy. If you know how to interact with an API using a supplied module, that?s it! Good work. And then JSON, does that even matter? You can build your objects in PowerShell and then ConvertTo-Json. Bam, good to go.The concepts that we?ll cover that are a bit more aC?ing specific:Idempotency - For each resource, we check to be sure that each config setting is set correctly, so even if the resource already exists, we?ll check each setting to ensure compliance.Testing - Since we?ll be storing our config and script in Git, we only want the config applied on a merge to main and we want to be able to test it on a PR. We?ll KISS and only write one script.To demonstrate that you already have the skills for this, we?ll journey through some examples using some common platforms and then dive into a more niche use case. For each example, we?ll build out the following:A configurationA script to apply itA workflow to run it
LOCATION:Seattle 1
END:VEVENT
END:VCALENDAR