Skip to content

Instantly share code, notes, and snippets.

@oniku-2929
oniku-2929 / get_github_release_dir.ps1
Created August 19, 2023 04:05
Example Terraform and scripts for downloading a github release and extracting it to a directory.
Param(
[String]$Arg1
)
$Dir=ls $Arg1
Write-Output "{ ""dir"" : ""$Dir""}"
@oniku-2929
oniku-2929 / README.md
Last active November 5, 2022 02:40
Example Terraform configuration to change logic based on OS.

terraform_if_by_os

Example Terraform configuration to change logic based on OS.

Requirements

Terraform

Usage

terraform apply --auto-approve

Licence