From cebd18cc94fafbab2cd36705cc39ca4f4956de03 Mon Sep 17 00:00:00 2001 From: Andrew Magana Date: Thu, 22 Oct 2020 14:39:52 -0400 Subject: [PATCH 01/11] Added new assets to deploy within Travis YAML file. --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 283452ec..3f46f086 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,6 +24,8 @@ deploy: - release/terraform-provider-alks-solaris-amd64.tar.gz - release/terraform-provider-alks-windows-386.zip - release/terraform-provider-alks-windows-amd64.zip + - release/terraform-provider-alks_SHA256SUMS + - release/terraform-provider-alks_SHA256SUMS.sig skip_cleanup: true on: repo: Cox-Automotive/terraform-provider-alks From f953aacd6a5bbf76d619d8ee6a6f5cabe03c5151 Mon Sep 17 00:00:00 2001 From: Andrew Magana Date: Fri, 23 Oct 2020 08:35:20 -0400 Subject: [PATCH 02/11] Testing to see if this is how we get the current tag. --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 3f46f086..f761fc5a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,8 @@ os: - osx install: + - GIT_TAG=$(git describe --tags --abbrev=0) + - echo $GIT_TAG - make build test before_deploy: From 46ddd26f4f39f13ef763044116c8641d8bb539e1 Mon Sep 17 00:00:00 2001 From: Andrew Magana Date: Fri, 23 Oct 2020 08:55:03 -0400 Subject: [PATCH 03/11] Fixed the file names and versioning, has to match what HashiCorp docs say. --- .travis.yml | 20 ++++++++++---------- Makefile | 22 +++++++++++----------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.travis.yml b/.travis.yml index f761fc5a..867baa94 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,16 +18,16 @@ deploy: api_key: secure: MZOznxDJeaIT3IQYDZHoH7oazeuM8ekgZzvnUTq0gMHZc1gwB9uEYjvCwSVo0OlUKFPymarhv/65GolggV1+fZzig5HPOpJltTFj3w9RBXZZzZiNZ3X+eexyW+so07BtV1S+jytA/Dd8MpnT9EmCYTzpg6Gp/NosyQJ9FbS7hm8UQcH7PLiBWAeoL1Wb/aLZQZUQRBiYr8PmZ6lzVTY+w8h5KISi7TrL6EzbwXj3j3muCGm/9ZqX/6CAxmAydU0ozCjl4QksRqn2MDWgUSYgga2GKBqsTpU4hX05QCEXD/G2BcGmoaOFP29na+zhXlCZ9j7DrOCMisEWH/DiWwqWaNlqUgO81pGbQDayvpZAMGRrYsaSQTz7oEbuU88NeDFriy44WFGE+eE73ykPFQl6JNnptE3mF6dRVPb6GZhG0nzM+UKfNw4hhcWo45hmrfqLS8MJNci9O3HbMy+2Ka45u64RlX2AUnmNexdPFDmZSjARLrnFT4VUuTEeb3CRS8TmNaWEM1o2yWYgtCkM9qnhiAxlrcDt1Y/bqhgbhzoheslHmi+n9TlFeH1xHP9sTEOwji5ljyPv2iN0/YdInkz+lF/4gEQSZ6hvLGGp+v3FUV66PU8dCusw9ysJhlJ40pvobz7MNdsiscDBx0zqiYUAdSR7XSgUQV7aOJH6dmnqwQA= file: - - release/terraform-provider-alks-darwin-amd64.tar.gz - - release/terraform-provider-alks-freebsd-386.tar.gz - - release/terraform-provider-alks-freebsd-amd64.tar.gz - - release/terraform-provider-alks-linux-386.tar.gz - - release/terraform-provider-alks-linux-amd64.tar.gz - - release/terraform-provider-alks-solaris-amd64.tar.gz - - release/terraform-provider-alks-windows-386.zip - - release/terraform-provider-alks-windows-amd64.zip - - release/terraform-provider-alks_SHA256SUMS - - release/terraform-provider-alks_SHA256SUMS.sig + - release/terraform-provider-alks_$GIT_TAG_darwin_amd64.tar.gz + - release/terraform-provider-alks_$GIT_TAG_freebsd_386.tar.gz + - release/terraform-provider-alks_$GIT_TAG_freebsd_amd64.tar.gz + - release/terraform-provider-alks_$GIT_TAG_linux_386.tar.gz + - release/terraform-provider-alks_$GIT_TAG_linux_amd64.tar.gz + - release/terraform-provider-alks_$GIT_TAG_solaris_amd64.tar.gz + - release/terraform-provider-alks_$GIT_TAG_windows_386.zip + - release/terraform-provider-alks_$GIT_TAG_windows_amd64.zip + - release/terraform-provider-alks_$GIT_TAG_SHA256SUMS + - release/terraform-provider-alks_$GIT_TAG_SHA256SUMS.sig skip_cleanup: true on: repo: Cox-Automotive/terraform-provider-alks diff --git a/Makefile b/Makefile index c6fca9ae..8c3098c6 100644 --- a/Makefile +++ b/Makefile @@ -22,39 +22,39 @@ release: GOOS=darwin GOARCH=amd64 go build -ldflags "-X main.versionNumber=$(TRAVIS_TAG)" -o release/terraform-provider-alks_v$(TRAVIS_TAG) -mod=vendor $(package) chmod +x release/terraform-provider-alks_v$(TRAVIS_TAG) - tar -cvzf release/terraform-provider-alks-darwin-amd64.tar.gz -C release/ terraform-provider-alks_v$(TRAVIS_TAG) + tar -cvzf release/terraform-provider-alks_$(TRAVIS_TAG)_darwin_amd64.tar.gz -C release/ terraform-provider-alks_v$(TRAVIS_TAG) GOOS=freebsd GOARCH=386 go build -ldflags "-X main.versionNumber=$(TRAVIS_TAG)" -o release/terraform-provider-alks_v$(TRAVIS_TAG) -mod=vendor $(package) chmod +x release/terraform-provider-alks_v$(TRAVIS_TAG) - tar -cvzf release/terraform-provider-alks-freebsd-386.tar.gz -C release/ terraform-provider-alks_v$(TRAVIS_TAG) + tar -cvzf release/terraform-provider-alks_$(TRAVIS_TAG)_freebsd_386.tar.gz -C release/ terraform-provider-alks_v$(TRAVIS_TAG) GOOS=freebsd GOARCH=amd64 go build -ldflags "-X main.versionNumber=$(TRAVIS_TAG)" -o release/terraform-provider-alks_v$(TRAVIS_TAG) -mod=vendor $(package) chmod +x release/terraform-provider-alks_v$(TRAVIS_TAG) - tar -cvzf release/terraform-provider-alks-freebsd-amd64.tar.gz -C release/ terraform-provider-alks_v$(TRAVIS_TAG) + tar -cvzf release/terraform-provider-alks_$(TRAVIS_TAG)_freebsd_amd64.tar.gz -C release/ terraform-provider-alks_v$(TRAVIS_TAG) GOOS=linux GOARCH=386 go build -ldflags "-X main.versionNumber=$(TRAVIS_TAG)" -o release/terraform-provider-alks_v$(TRAVIS_TAG) -mod=vendor $(package) chmod +x release/terraform-provider-alks_v$(TRAVIS_TAG) - tar -cvzf release/terraform-provider-alks-linux-386.tar.gz -C release/ terraform-provider-alks_v$(TRAVIS_TAG) + tar -cvzf release/terraform-provider-alks_$(TRAVIS_TAG)_linux_386.tar.gz -C release/ terraform-provider-alks_v$(TRAVIS_TAG) GOOS=linux GOARCH=amd64 go build -ldflags "-X main.versionNumber=$(TRAVIS_TAG)" -o release/terraform-provider-alks_v$(TRAVIS_TAG) -mod=vendor $(package) chmod +x release/terraform-provider-alks_v$(TRAVIS_TAG) - tar -cvzf release/terraform-provider-alks-linux-amd64.tar.gz -C release/ terraform-provider-alks_v$(TRAVIS_TAG) + tar -cvzf release/terraform-provider-alks_$(TRAVIS_TAG)_linux_amd64.tar.gz -C release/ terraform-provider-alks_v$(TRAVIS_TAG) GOOS=solaris GOARCH=amd64 go build -ldflags "-X main.versionNumber=$(TRAVIS_TAG)" -o release/terraform-provider-alks_v$(TRAVIS_TAG) -mod=vendor $(package) chmod +x release/terraform-provider-alks_v$(TRAVIS_TAG) - tar -cvzf release/terraform-provider-alks-solaris-amd64.tar.gz -C release/ terraform-provider-alks_v$(TRAVIS_TAG) + tar -cvzf release/terraform-provider-alks_$(TRAVIS_TAG)_solaris_amd64.tar.gz -C release/ terraform-provider-alks_v$(TRAVIS_TAG) GOOS=windows GOARCH=386 go build -ldflags "-X main.versionNumber=$(TRAVIS_TAG)" -o release/terraform-provider-alks_v$(TRAVIS_TAG).exe -mod=vendor $(package) - zip release/terraform-provider-alks-windows-386.zip release/terraform-provider-alks_v$(TRAVIS_TAG).exe + zip release/terraform-provider-alks_$(TRAVIS_TAG)_windows_386.zip release/terraform-provider-alks_v$(TRAVIS_TAG).exe GOOS=windows GOARCH=amd64 go build -ldflags "-X main.versionNumber=$(TRAVIS_TAG)" -o release/terraform-provider-alks_v$(TRAVIS_TAG).exe -mod=vendor $(package) - zip release/terraform-provider-alks-windows-amd64.zip release/terraform-provider-alks_v$(TRAVIS_TAG).exe + zip release/terraform-provider-alks_$(TRAVIS_TAG)_windows_amd64.zip release/terraform-provider-alks_v$(TRAVIS_TAG).exe - shasum -a 256 release/*.tar.gz release/*.zip > release/terraform-provider-alks_v$(TRAVIS_TAG)_SHA256SUMS + shasum -a 256 release/*.tar.gz release/*.zip > release/terraform-provider-alks_$(TRAVIS_TAG)_SHA256SUMS - echo $(GPG_KEY) | base64 --decode | gpg --batch --no-tty --yes --import + #echo $(GPG_KEY) | base64 --decode | gpg --batch --no-tty --yes --import - @gpg --pinentry-mode loopback --passphrase $(GPG_PASSPHRASE) -u C182B91A3A62B0D5 --detach-sign release/terraform-provider-alks_v$(TRAVIS_TAG)_SHA256SUMS +# @gpg --pinentry-mode loopback --passphrase $(GPG_PASSPHRASE) -u C182B91A3A62B0D5 --detach-sign release/terraform-provider-alks_$(TRAVIS_TAG)_SHA256SUMS rm release/terraform-provider-alks_v$(TRAVIS_TAG).exe From 8e6a65534e3d30a5417cfd684b45369d34ce85bb Mon Sep 17 00:00:00 2001 From: Andrew Magana Date: Fri, 23 Oct 2020 09:21:09 -0400 Subject: [PATCH 04/11] Removed echo. No longer needed for testing. --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 867baa94..c9b82584 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,6 @@ os: install: - GIT_TAG=$(git describe --tags --abbrev=0) - - echo $GIT_TAG - make build test before_deploy: From eb2baf8eae043f74f898f22a8b97954c4aef62f4 Mon Sep 17 00:00:00 2001 From: Andrew Magana Date: Fri, 23 Oct 2020 14:32:38 -0400 Subject: [PATCH 05/11] Oops, accidentally left comments when testing. Changed it back. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8c3098c6..d0eb5cdd 100644 --- a/Makefile +++ b/Makefile @@ -52,9 +52,9 @@ release: shasum -a 256 release/*.tar.gz release/*.zip > release/terraform-provider-alks_$(TRAVIS_TAG)_SHA256SUMS - #echo $(GPG_KEY) | base64 --decode | gpg --batch --no-tty --yes --import + echo $(GPG_KEY) | base64 --decode | gpg --batch --no-tty --yes --import -# @gpg --pinentry-mode loopback --passphrase $(GPG_PASSPHRASE) -u C182B91A3A62B0D5 --detach-sign release/terraform-provider-alks_$(TRAVIS_TAG)_SHA256SUMS + @gpg --pinentry-mode loopback --passphrase $(GPG_PASSPHRASE) -u C182B91A3A62B0D5 --detach-sign release/terraform-provider-alks_$(TRAVIS_TAG)_SHA256SUMS rm release/terraform-provider-alks_v$(TRAVIS_TAG).exe From 21d2e8f38d2ef7dc3ddd511dcf11e96612ca6d72 Mon Sep 17 00:00:00 2001 From: Andrew Magana Date: Mon, 26 Oct 2020 11:46:02 -0400 Subject: [PATCH 06/11] Need all files to be in ZIP files. Updates Travis YML to use Travis-specific environment variable for the tag. --- .travis.yml | 20 ++++++++++---------- Makefile | 14 +++++++------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index c9b82584..407d24da 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,16 +17,16 @@ deploy: api_key: secure: MZOznxDJeaIT3IQYDZHoH7oazeuM8ekgZzvnUTq0gMHZc1gwB9uEYjvCwSVo0OlUKFPymarhv/65GolggV1+fZzig5HPOpJltTFj3w9RBXZZzZiNZ3X+eexyW+so07BtV1S+jytA/Dd8MpnT9EmCYTzpg6Gp/NosyQJ9FbS7hm8UQcH7PLiBWAeoL1Wb/aLZQZUQRBiYr8PmZ6lzVTY+w8h5KISi7TrL6EzbwXj3j3muCGm/9ZqX/6CAxmAydU0ozCjl4QksRqn2MDWgUSYgga2GKBqsTpU4hX05QCEXD/G2BcGmoaOFP29na+zhXlCZ9j7DrOCMisEWH/DiWwqWaNlqUgO81pGbQDayvpZAMGRrYsaSQTz7oEbuU88NeDFriy44WFGE+eE73ykPFQl6JNnptE3mF6dRVPb6GZhG0nzM+UKfNw4hhcWo45hmrfqLS8MJNci9O3HbMy+2Ka45u64RlX2AUnmNexdPFDmZSjARLrnFT4VUuTEeb3CRS8TmNaWEM1o2yWYgtCkM9qnhiAxlrcDt1Y/bqhgbhzoheslHmi+n9TlFeH1xHP9sTEOwji5ljyPv2iN0/YdInkz+lF/4gEQSZ6hvLGGp+v3FUV66PU8dCusw9ysJhlJ40pvobz7MNdsiscDBx0zqiYUAdSR7XSgUQV7aOJH6dmnqwQA= file: - - release/terraform-provider-alks_$GIT_TAG_darwin_amd64.tar.gz - - release/terraform-provider-alks_$GIT_TAG_freebsd_386.tar.gz - - release/terraform-provider-alks_$GIT_TAG_freebsd_amd64.tar.gz - - release/terraform-provider-alks_$GIT_TAG_linux_386.tar.gz - - release/terraform-provider-alks_$GIT_TAG_linux_amd64.tar.gz - - release/terraform-provider-alks_$GIT_TAG_solaris_amd64.tar.gz - - release/terraform-provider-alks_$GIT_TAG_windows_386.zip - - release/terraform-provider-alks_$GIT_TAG_windows_amd64.zip - - release/terraform-provider-alks_$GIT_TAG_SHA256SUMS - - release/terraform-provider-alks_$GIT_TAG_SHA256SUMS.sig + - release/terraform-provider-alks_${TRAVIS_TAG}_darwin_amd64.zip + - release/terraform-provider-alks_${TRAVIS_TAG}_freebsd_386.zip + - release/terraform-provider-alks_${TRAVIS_TAG}_freebsd_amd64.zip + - release/terraform-provider-alks_${TRAVIS_TAG}_linux_386.zip + - release/terraform-provider-alks_${TRAVIS_TAG}_linux_amd64.zip + - release/terraform-provider-alks_${TRAVIS_TAG}_solaris_amd64.zip + - release/terraform-provider-alks_${TRAVIS_TAG}_windows_386.zip + - release/terraform-provider-alks_${TRAVIS_TAG}_windows_amd64.zip + - release/terraform-provider-alks_${TRAVIS_TAG}_SHA256SUMS + - release/terraform-provider-alks_${TRAVIS_TAG}_SHA256SUMS.sig skip_cleanup: true on: repo: Cox-Automotive/terraform-provider-alks diff --git a/Makefile b/Makefile index d0eb5cdd..28535b27 100644 --- a/Makefile +++ b/Makefile @@ -22,27 +22,27 @@ release: GOOS=darwin GOARCH=amd64 go build -ldflags "-X main.versionNumber=$(TRAVIS_TAG)" -o release/terraform-provider-alks_v$(TRAVIS_TAG) -mod=vendor $(package) chmod +x release/terraform-provider-alks_v$(TRAVIS_TAG) - tar -cvzf release/terraform-provider-alks_$(TRAVIS_TAG)_darwin_amd64.tar.gz -C release/ terraform-provider-alks_v$(TRAVIS_TAG) + zip release/terraform-provider-alks_$(TRAVIS_TAG)_darwin_amd64.zip release/terraform-provider-alks_v$(TRAVIS_TAG) GOOS=freebsd GOARCH=386 go build -ldflags "-X main.versionNumber=$(TRAVIS_TAG)" -o release/terraform-provider-alks_v$(TRAVIS_TAG) -mod=vendor $(package) chmod +x release/terraform-provider-alks_v$(TRAVIS_TAG) - tar -cvzf release/terraform-provider-alks_$(TRAVIS_TAG)_freebsd_386.tar.gz -C release/ terraform-provider-alks_v$(TRAVIS_TAG) + zip release/terraform-provider-alks_$(TRAVIS_TAG)_freebsd_386.zip release/terraform-provider-alks_v$(TRAVIS_TAG) GOOS=freebsd GOARCH=amd64 go build -ldflags "-X main.versionNumber=$(TRAVIS_TAG)" -o release/terraform-provider-alks_v$(TRAVIS_TAG) -mod=vendor $(package) chmod +x release/terraform-provider-alks_v$(TRAVIS_TAG) - tar -cvzf release/terraform-provider-alks_$(TRAVIS_TAG)_freebsd_amd64.tar.gz -C release/ terraform-provider-alks_v$(TRAVIS_TAG) + zip release/terraform-provider-alks_$(TRAVIS_TAG)_freebsd_amd64.zip release/terraform-provider-alks_v$(TRAVIS_TAG) GOOS=linux GOARCH=386 go build -ldflags "-X main.versionNumber=$(TRAVIS_TAG)" -o release/terraform-provider-alks_v$(TRAVIS_TAG) -mod=vendor $(package) chmod +x release/terraform-provider-alks_v$(TRAVIS_TAG) - tar -cvzf release/terraform-provider-alks_$(TRAVIS_TAG)_linux_386.tar.gz -C release/ terraform-provider-alks_v$(TRAVIS_TAG) + zip release/terraform-provider-alks_$(TRAVIS_TAG)_linux_386.zip release/terraform-provider-alks_v$(TRAVIS_TAG) GOOS=linux GOARCH=amd64 go build -ldflags "-X main.versionNumber=$(TRAVIS_TAG)" -o release/terraform-provider-alks_v$(TRAVIS_TAG) -mod=vendor $(package) chmod +x release/terraform-provider-alks_v$(TRAVIS_TAG) - tar -cvzf release/terraform-provider-alks_$(TRAVIS_TAG)_linux_amd64.tar.gz -C release/ terraform-provider-alks_v$(TRAVIS_TAG) + zip release/terraform-provider-alks_$(TRAVIS_TAG)_linux_amd64.zip release/terraform-provider-alks_v$(TRAVIS_TAG) GOOS=solaris GOARCH=amd64 go build -ldflags "-X main.versionNumber=$(TRAVIS_TAG)" -o release/terraform-provider-alks_v$(TRAVIS_TAG) -mod=vendor $(package) chmod +x release/terraform-provider-alks_v$(TRAVIS_TAG) - tar -cvzf release/terraform-provider-alks_$(TRAVIS_TAG)_solaris_amd64.tar.gz -C release/ terraform-provider-alks_v$(TRAVIS_TAG) + zip release/terraform-provider-alks_$(TRAVIS_TAG)_solaris_amd64.zip release/terraform-provider-alks_v$(TRAVIS_TAG) GOOS=windows GOARCH=386 go build -ldflags "-X main.versionNumber=$(TRAVIS_TAG)" -o release/terraform-provider-alks_v$(TRAVIS_TAG).exe -mod=vendor $(package) zip release/terraform-provider-alks_$(TRAVIS_TAG)_windows_386.zip release/terraform-provider-alks_v$(TRAVIS_TAG).exe @@ -50,7 +50,7 @@ release: GOOS=windows GOARCH=amd64 go build -ldflags "-X main.versionNumber=$(TRAVIS_TAG)" -o release/terraform-provider-alks_v$(TRAVIS_TAG).exe -mod=vendor $(package) zip release/terraform-provider-alks_$(TRAVIS_TAG)_windows_amd64.zip release/terraform-provider-alks_v$(TRAVIS_TAG).exe - shasum -a 256 release/*.tar.gz release/*.zip > release/terraform-provider-alks_$(TRAVIS_TAG)_SHA256SUMS + shasum -a 256 release/*.zip > release/terraform-provider-alks_$(TRAVIS_TAG)_SHA256SUMS echo $(GPG_KEY) | base64 --decode | gpg --batch --no-tty --yes --import From cc8adea4e5e062d0afa3c0ba68a44f78f5b192bf Mon Sep 17 00:00:00 2001 From: Andrew Magana Date: Mon, 26 Oct 2020 11:46:28 -0400 Subject: [PATCH 07/11] Removed unnecessary line. --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 407d24da..6028de89 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,6 @@ os: - osx install: - - GIT_TAG=$(git describe --tags --abbrev=0) - make build test before_deploy: From 574773c61a841e130483865bd4f8442868d3a5c2 Mon Sep 17 00:00:00 2001 From: Andrew Magana Date: Mon, 26 Oct 2020 12:09:22 -0400 Subject: [PATCH 08/11] Updated CURL command so it now follows the zip file instructions instead of tar. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 94debfb0..faa28e67 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ This module is used for creating IAM Roles via the ALKS API. For example on macOS: ``` -curl -L https://github.com/Cox-Automotive/terraform-provider-alks/releases/download/1.5.0/terraform-provider-alks-darwin-amd64.tar.gz | tar zxv +curl https://github.com/Cox-Automotive/terraform-provider-alks/releases/download/1.5.0/terraform-provider-alks-darwin-amd64.zip -O -J -L | unzip ``` * Configure Terraform to use this plugin by placing the binary in `.terraform.d/plugins/` on MacOS/Linux or `terraform.d\plugins\` in your user's "Application Data" directory on Windows. @@ -37,7 +37,7 @@ curl -L https://github.com/Cox-Automotive/terraform-provider-alks/releases/downl For example on macOS: ``` -curl -L https://github.com/Cox-Automotive/terraform-provider-alks/releases/download/1.5.0/terraform-provider-alks-darwin-amd64.tar.gz | tar zxv +curl https://github.com/Cox-Automotive/terraform-provider-alks/releases/download/1.5.0/terraform-provider-alks-darwin-amd64.zip -O -J -L | unzip ``` * Go into the Terraform plugins path; `.terraform.d/plugins/` on MacOS/Linux or `terraform.d\plugins\` in your user's "Application Data" directory on Windows. From d72b711c4010cfc3842064e8094539bb8428ff04 Mon Sep 17 00:00:00 2001 From: Andrew Magana Date: Mon, 26 Oct 2020 12:11:58 -0400 Subject: [PATCH 09/11] Format of file also changed, updated... --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index faa28e67..32ed59e8 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ This module is used for creating IAM Roles via the ALKS API. For example on macOS: ``` -curl https://github.com/Cox-Automotive/terraform-provider-alks/releases/download/1.5.0/terraform-provider-alks-darwin-amd64.zip -O -J -L | unzip +curl https://github.com/Cox-Automotive/terraform-provider-alks/releases/download/1.5.0/release/terraform-provider-alks_1.5.0_darwin_amd64.zip -O -J -L | unzip ``` * Configure Terraform to use this plugin by placing the binary in `.terraform.d/plugins/` on MacOS/Linux or `terraform.d\plugins\` in your user's "Application Data" directory on Windows. @@ -37,7 +37,7 @@ curl https://github.com/Cox-Automotive/terraform-provider-alks/releases/download For example on macOS: ``` -curl https://github.com/Cox-Automotive/terraform-provider-alks/releases/download/1.5.0/terraform-provider-alks-darwin-amd64.zip -O -J -L | unzip +curl https://github.com/Cox-Automotive/terraform-provider-alks/releases/download/1.5.0/release/terraform-provider-alks_1.5.0_darwin_amd64.zip -O -J -L | unzip ``` * Go into the Terraform plugins path; `.terraform.d/plugins/` on MacOS/Linux or `terraform.d\plugins\` in your user's "Application Data" directory on Windows. From 879d38b48ee5a0109eb2bd4723d5ab88dd01f7a9 Mon Sep 17 00:00:00 2001 From: Andrew Magana Date: Mon, 26 Oct 2020 13:44:53 -0400 Subject: [PATCH 10/11] Somehow the word got changes to singular, but needs to be plural. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 32ed59e8..d07a47d5 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ This module is used for creating IAM Roles via the ALKS API. For example on macOS: ``` -curl https://github.com/Cox-Automotive/terraform-provider-alks/releases/download/1.5.0/release/terraform-provider-alks_1.5.0_darwin_amd64.zip -O -J -L | unzip +curl https://github.com/Cox-Automotive/terraform-provider-alks/releases/download/1.5.0/releases/terraform-provider-alks_1.5.0_darwin_amd64.zip -O -J -L | unzip ``` * Configure Terraform to use this plugin by placing the binary in `.terraform.d/plugins/` on MacOS/Linux or `terraform.d\plugins\` in your user's "Application Data" directory on Windows. @@ -37,7 +37,7 @@ curl https://github.com/Cox-Automotive/terraform-provider-alks/releases/download For example on macOS: ``` -curl https://github.com/Cox-Automotive/terraform-provider-alks/releases/download/1.5.0/release/terraform-provider-alks_1.5.0_darwin_amd64.zip -O -J -L | unzip +curl https://github.com/Cox-Automotive/terraform-provider-alks/releases/download/1.5.0/releases/terraform-provider-alks_1.5.0_darwin_amd64.zip -O -J -L | unzip ``` * Go into the Terraform plugins path; `.terraform.d/plugins/` on MacOS/Linux or `terraform.d\plugins\` in your user's "Application Data" directory on Windows. From 9c70eded69dff9d17ca3f9873e3592448cb0a700 Mon Sep 17 00:00:00 2001 From: Andrew Magana Date: Mon, 26 Oct 2020 13:46:08 -0400 Subject: [PATCH 11/11] Fixed curl command. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d07a47d5..13831417 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ This module is used for creating IAM Roles via the ALKS API. For example on macOS: ``` -curl https://github.com/Cox-Automotive/terraform-provider-alks/releases/download/1.5.0/releases/terraform-provider-alks_1.5.0_darwin_amd64.zip -O -J -L | unzip +curl https://github.com/Cox-Automotive/terraform-provider-alks/releases/download/1.5.0/terraform-provider-alks_1.5.0_darwin_amd64.zip -O -J -L | unzip ``` * Configure Terraform to use this plugin by placing the binary in `.terraform.d/plugins/` on MacOS/Linux or `terraform.d\plugins\` in your user's "Application Data" directory on Windows. @@ -37,7 +37,7 @@ curl https://github.com/Cox-Automotive/terraform-provider-alks/releases/download For example on macOS: ``` -curl https://github.com/Cox-Automotive/terraform-provider-alks/releases/download/1.5.0/releases/terraform-provider-alks_1.5.0_darwin_amd64.zip -O -J -L | unzip +curl https://github.com/Cox-Automotive/terraform-provider-alks/releases/download/1.5.0/terraform-provider-alks_1.5.0_darwin_amd64.zip -O -J -L | unzip ``` * Go into the Terraform plugins path; `.terraform.d/plugins/` on MacOS/Linux or `terraform.d\plugins\` in your user's "Application Data" directory on Windows.