From ea157d94df4ef564ee228031a935f6f5c371f731 Mon Sep 17 00:00:00 2001 From: Clivern Date: Tue, 28 Feb 2023 13:07:34 +0100 Subject: [PATCH] release 0.3.0 --- CHANGELOG.md | 3 ++- README.md | 4 ++-- scripts/dev | 19 +++++++++++++++++++ 3 files changed, 23 insertions(+), 3 deletions(-) create mode 100755 scripts/dev diff --git a/CHANGELOG.md b/CHANGELOG.md index 5259261..9c1f4b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ -## 0.3.0 (Unreleased) +## 0.3.0 - Improve Logging. +- Add development script ## 0.2.0 (Unreleased) diff --git a/README.md b/README.md index 65d18a2..3feb1fd 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,10 @@ - + - + diff --git a/scripts/dev b/scripts/dev new file mode 100755 index 0000000..25d1f55 --- /dev/null +++ b/scripts/dev @@ -0,0 +1,19 @@ +#!/bin/bash + +# Define the code to be written to the file +code="provider_installation { + + dev_overrides { + \"registry.terraform.io/clivern/lynx\" = \"$(go env GOBIN)\" + } + + # For all other providers, install them directly from their origin provider + # registries as normal. If you omit this, Terraform will _only_ use + # the dev_overrides block, and so no other providers will be available. + direct {} +}" + +# Write the code to the ~/.terraformrc file +echo "$code" > ~/.terraformrc + +go build main.go