-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from warrensbox/master
Merging bug fix to master relates to #11
- Loading branch information
Showing
11 changed files
with
422 additions
and
424 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
theme: jekyll-theme-minimal | ||
github: [metadata] | ||
#github: [metadata] | ||
repository: warrensbox/terraform-switcher | ||
logo: /assets/img/logo.png | ||
title: tfswitch | ||
|
||
show_downloads: true | ||
|
||
github: [metadata] | ||
#github: [metadata] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
<!DOCTYPE html> | ||
<html lang="en-US"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta name="description" content="The tfswitch command line tool lets you switch between different versions of terraform."> | ||
|
||
<!-- Begin Jekyll SEO tag v2.4.0 --> | ||
<title>tfswitch | The tfswitch command line tool lets you switch between different versions of terraform</title> | ||
<meta name="generator" content="Jekyll v3.7.3" /> | ||
<meta property="og:title" content="tfswitch" /> | ||
<meta property="og:locale" content="en_US" /> | ||
<meta name="description" content="The tfswitch command line tool lets you switch between different versions of terraform" /> | ||
<meta property="og:description" content="The tfswitch command line tool lets you switch between different versions of terraform" /> | ||
<link rel="canonical" href="http://localhost:4000/additional.html" /> | ||
<meta property="og:url" content="http://localhost:4000/additional.html" /> | ||
<meta property="og:site_name" content="tfswitch" /> | ||
<script type="application/ld+json"> | ||
{"description":"The tfswitch command line tool lets you switch between different versions of terraform","@type":"WebPage","url":"http://localhost:4000/additional.html","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"http://localhost:4000/assets/img/logo.png"}},"headline":"tfswitch","@context":"http://schema.org"}</script> | ||
<!-- End Jekyll SEO tag --> | ||
|
||
<link rel="stylesheet" href="/assets/css/style.css?v=6896e1e3b55581482a0f3e7780e98a0bb16b8d71"> | ||
<!--[if lt IE 9]> | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script> | ||
<![endif]--> | ||
</head> | ||
<body> | ||
<div class="wrapper"> | ||
<header> | ||
<!-- <h1 style="font-size:25px;"><a href="http://localhost:4000/">tfswitch</a></h1> --> | ||
<!-- <h1 style="font-size:25px; text-align: center"><a href="http://localhost:4000/">tfswitch</a></h1> --> | ||
|
||
<p align="center"> | ||
<img align="middle" src="https://s3.us-east-2.amazonaws.com/kepler-images/warrensbox/logo.png" alt="Logo" /> | ||
</p> | ||
|
||
<p style="text-align: center">The tfswitch command line tool lets you switch between different versions of terraform</p> | ||
<!-- <p>Written in go</p> --> | ||
<img src="https://travis-ci.org/warrensbox/terraform-switcher.svg?branch=master" alt="Travis" /> | ||
<img src="https://goreportcard.com/badge/github.com/warrensbox/terraform-switcher" alt="Go Report" /> | ||
|
||
<hr style="margin-top: 20px;"> | ||
|
||
|
||
<ul> | ||
<li><a href="https://github.com/warrensbox/terraform-switcher/releases/download/0.3.256/terraform-switcher_0.3.256_darwin_amd64.tar.gz">Download <strong>MacOS</strong></a></li> | ||
<li><a href="https://github.com/warrensbox/terraform-switcher/releases/download/0.3.256/terraform-switcher_0.3.256_linux_amd64.tar.gz">Download <strong>Linux</strong></a></li> | ||
<li><a href="https://github.com/warrensbox/terraform-switcher/releases">Releases On <strong>GitHub</strong></a></li> | ||
</ul> | ||
|
||
</header> | ||
<section> | ||
|
||
|
||
<p><a href="index">Back to main</a></p> | ||
|
||
<h2 id="upgrade">Upgrade:</h2> | ||
|
||
<h3 id="homebrew">Homebrew</h3> | ||
|
||
<div class="language-ruby highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">brew</span> <span class="n">upgrade</span> <span class="n">warrensbox</span><span class="o">/</span><span class="n">tap</span><span class="o">/</span><span class="n">tfswitch</span> | ||
</code></pre></div></div> | ||
<h3 id="linux">Linux</h3> | ||
|
||
<p>Rerun:</p> | ||
|
||
<div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code>curl <span class="nt">-L</span> https://raw.githubusercontent.com/warrensbox/terraform-switcher/release/install.sh | bash | ||
</code></pre></div></div> | ||
|
||
<h2 id="uninstall">Uninstall:</h2> | ||
|
||
<h3 id="homebrew-1">Homebrew</h3> | ||
|
||
<div class="language-ruby highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">brew</span> <span class="n">uninstall</span> <span class="n">warrensbox</span><span class="o">/</span><span class="n">tap</span><span class="o">/</span><span class="n">tfswitch</span> | ||
</code></pre></div></div> | ||
<h3 id="linux-1">Linux</h3> | ||
|
||
<p>Rerun:</p> | ||
|
||
<div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code>rm /usr/local/bin/tfswitch | ||
</code></pre></div></div> | ||
|
||
<h2 id="troubleshoot">Troubleshoot:</h2> | ||
|
||
<p>Common issues:</p> | ||
<div class="language-ruby highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="ss">install: </span><span class="n">can</span><span class="err">'</span><span class="n">t</span> <span class="n">change</span> <span class="n">permissions</span> <span class="n">of</span> <span class="sr">/usr/</span><span class="n">local</span><span class="o">/</span><span class="ss">bin: </span><span class="no">Operation</span> <span class="n">not</span> <span class="n">permitted</span> | ||
</code></pre></div></div> | ||
|
||
<div class="language-ruby highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="s2">"Unable to remove symlink. You must have SUDO privileges"</span> | ||
</code></pre></div></div> | ||
|
||
<div class="language-ruby highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="s2">"Unable to create symlink. You must have SUDO privileges"</span> | ||
</code></pre></div></div> | ||
<p>You probably need to have <strong>sudo</strong> privileges to install <em>tfswitch</em>.</p> | ||
|
||
<p><a href="#upgrade">Back to top</a> <br /> | ||
<a href="index">Back to main</a></p> | ||
|
||
|
||
<p><small>VERSION: 0.3.256. This project is maintained by <a href="http://github.com/warrensbox">warrensbox</a></small></p> | ||
|
||
</section> | ||
<footer> | ||
<p><small>View other products — by <a href="http://warren.veerasingam.com/#about_me" target="_blank">Warren Veerasingam</a></small></p> | ||
|
||
</footer> | ||
</div> | ||
<script src="/assets/js/scale.fix.js"></script> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
|
||
[Back to main](index) | ||
|
||
## Upgrade: | ||
|
||
### Homebrew | ||
|
||
```ruby | ||
brew upgrade warrensbox/tap/tfswitch | ||
``` | ||
### Linux | ||
|
||
Rerun: | ||
|
||
```sh | ||
curl -L https://raw.githubusercontent.com/warrensbox/terraform-switcher/release/install.sh | bash | ||
``` | ||
|
||
## Uninstall: | ||
|
||
### Homebrew | ||
|
||
```ruby | ||
brew uninstall warrensbox/tap/tfswitch | ||
``` | ||
### Linux | ||
|
||
Rerun: | ||
|
||
```sh | ||
rm /usr/local/bin/tfswitch | ||
``` | ||
|
||
## Troubleshoot: | ||
|
||
Common issues: | ||
```ruby | ||
install: can't change permissions of /usr/local/bin: Operation not permitted | ||
``` | ||
```ruby | ||
"Unable to remove symlink. You must have SUDO privileges" | ||
``` | ||
```ruby | ||
"Unable to create symlink. You must have SUDO privileges" | ||
``` | ||
You probably need to have **sudo** privileges to install *tfswitch*. | ||
[Back to top](#upgrade) | ||
[Back to main](index) |
Oops, something went wrong.