Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/KaiKorla/TerraformCompletion
PowerShell module provides Terraform command completion for PowerShell
https://github.com/KaiKorla/TerraformCompletion
Last synced: 9 days ago
JSON representation
PowerShell module provides Terraform command completion for PowerShell
- Host: GitHub
- URL: https://github.com/KaiKorla/TerraformCompletion
- Owner: KaiKorla
- License: mit
- Archived: true
- Created: 2022-09-13T16:47:01.000Z (about 2 years ago)
- Default Branch: develop
- Last Pushed: 2022-09-13T16:50:54.000Z (about 2 years ago)
- Last Synced: 2024-05-23T00:30:23.170Z (7 months ago)
- Language: PowerShell
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - KaiKorla/TerraformCompletion - PowerShell module provides Terraform command completion for PowerShell (PowerShell)
README
# TerraformCompletion
- [TerraformCompletion](#terraformcompletion)
- [About](#about)
- [Features](#features)
- [Requirements](#requirements)
- [Installation](#installation)
- [Using](#using)
- [Contributing](#contributing)
- [Links](#links)## About
PowerShell module provides Terraform command completion for PowerShell.## Features
- Completion based on [Terraform native shell tab-completion support](https://www.terraform.io/cli/commands#shell-tab-completion)
- Suports PowerShell alias, i.e.:
```powershell
New-Alias -Name tf -Value terraform.exe
```## Requirements
* Powershell >= 5.1
* Terraform CLI in the PATH environment variable ($env:PATH)## Installation
```powershell
Install-Module -Name TerraformCompletion -Scope CurrentUser
```
## Using
After started a new PowerShell session you can import the module:
```powershell
Import-Module TerraformCompletion
```But i recommend to use a [PowerShell profile](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_profiles?view=powershell-7.2):
```powershell
if (!(Test-Path -Path $PROFILE)) {
New-Item -ItemType File -Path $PROFILE -Force
}
Add-Content $PROFILE 'Import-Module TerraformCompletion'
```This loads the module everytime a new PowerShell session is started.
## Contributing
Just open a PR. :-)## Links
[TerraformCompletion @ PowerShell Gallery](https://www.powershellgallery.com/packages/TerraformCompletion)