All Projects → dirien → tfu

dirien / tfu

Licence: Apache-2.0 license
tfu is a terraform helper to update the providers.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to tfu

awesome-iac-testing
A list of awesome IaC testing articles, speeches & links. Especially about Ansible.
Stars: ✭ 56 (+330.77%)
Mutual labels:  iac, infrastructure-as-code
heat-examples
Heat examples tested against the SysEleven Stack infrastructure cloud.
Stars: ✭ 36 (+176.92%)
Mutual labels:  iac, infrastructure-as-code
terraform-vsphere-single-vm
Deploy single vSphere VM with Terraform - template.
Stars: ✭ 21 (+61.54%)
Mutual labels:  iac, infrastructure-as-code
driftctl
Detect, track and alert on infrastructure drift
Stars: ✭ 2,020 (+15438.46%)
Mutual labels:  iac, infrastructure-as-code
icp-ce-on-linux-containers
Multi node IBM Cloud Private Community Edition 3.2.x w/ Kubernetes 1.13.5 in a Box. Terraform, Packer and BASH based Infrastructure as Code script sets up a multi node LXD cluster, installs ICP-CE and clis on a metal or VM Ubuntu 18.04 host.
Stars: ✭ 52 (+300%)
Mutual labels:  iac, infrastructure-as-code
terraform-modules
Terraform Modules by Peak
Stars: ✭ 16 (+23.08%)
Mutual labels:  iac, infrastructure-as-code
PSRule-pipelines
Validate infrastructure as code (IaC) and DevOps repositories using Azure Pipelines.
Stars: ✭ 16 (+23.08%)
Mutual labels:  iac, infrastructure-as-code
yor
Extensible auto-tagger for your IaC files. The ultimate way to link entities in the cloud back to the codified resource which created it.
Stars: ✭ 459 (+3430.77%)
Mutual labels:  iac, infrastructure-as-code
Terrascan
Detect compliance and security violations across Infrastructure as Code to mitigate risk before provisioning cloud native infrastructure.
Stars: ✭ 2,687 (+20569.23%)
Mutual labels:  iac, infrastructure-as-code
Pulumi
Pulumi - Developer-First Infrastructure as Code. Your Cloud, Your Language, Your Way 🚀
Stars: ✭ 10,887 (+83646.15%)
Mutual labels:  iac, infrastructure-as-code
Trivy
Scanner for vulnerabilities in container images, file systems, and Git repositories, as well as for configuration issues
Stars: ✭ 9,673 (+74307.69%)
Mutual labels:  iac, infrastructure-as-code
Nietzsche
Scrap quotes from Goodreads and schedule random tweets.
Stars: ✭ 44 (+238.46%)
Mutual labels:  iac, infrastructure-as-code
ggshield
Find and fix 360+ types of hardcoded secrets and 70+ types of infrastructure-as-code misconfigurations.
Stars: ✭ 1,272 (+9684.62%)
Mutual labels:  iac, infrastructure-as-code
gotf
Managing multiple environments with Terraform made easy
Stars: ✭ 25 (+92.31%)
Mutual labels:  iac, infrastructure-as-code
oneview-sdk-ruby
This project is no longer being developed and has limited support. In the near future this repository will be fully deprecated. Please consider using other OneView projects, such as Golang and Python.
Stars: ✭ 13 (+0%)
Mutual labels:  infrastructure-as-code
valheim-ecs-fargate-cdk
AWS CDK/Cloudformation to deploy a Valheim Server using ECS Fargate!
Stars: ✭ 66 (+407.69%)
Mutual labels:  iac
k3ai
A lightweight tool to get an AI Infrastructure Stack up in minutes not days. K3ai will take care of setup K8s for You, deploy the AI tool of your choice and even run your code on it.
Stars: ✭ 105 (+707.69%)
Mutual labels:  infrastructure-as-code
fabula
Minimalist server scripts.
Stars: ✭ 53 (+307.69%)
Mutual labels:  infrastructure-as-code
eks-cluster
Quickly spin up an AWS EKS Kubernetes cluster using AWS CloudFormation
Stars: ✭ 41 (+215.38%)
Mutual labels:  iac
terraform-aws-route53
A Terraform module to create a Route53 Domain Name System (DNS) on Amazon Web Services (AWS). https://aws.amazon.com/route53/
Stars: ✭ 39 (+200%)
Mutual labels:  iac

codecov VEXXHOST

tfu (speak 'TF-up')

tfu is a Terraform helper to update the providers of Terraform

Works only starting from version Terraform 0.13+

Nothing more nothing less.

Why? 🤷

After a Terraform session with Nico Meisenzahl, we thought about a way to automatically update the different provisioner.

Right now you need to call the Terraform Registry website and look them up. That is so time-consuming. This was moment the idea 💡 tfu for was born.

TL;DR 🚀

Install via homebrew:

brew tap dirien/homebrew-dirien
brew install tfu

Linux or Windows user, can directly download (or use curl/wget) the binary via the release page.

Usage

So simple that downloading the cli will take you longer!

GitHub Token

tfu supports private modules hosted on github. To not run into a rate limit:

403 API rate limit exceeded for xxxxx. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.) [rate reset in 16m17s]

Please set the env variable:

export GIT_TOKEN=xxx

For more details on module sources -> https://www.terraform.io/docs/language/modules/sources.html#github

For directory:

tfu update -d <directory> [--dry-run]

For a single file

tfu update -f <path to file> [--dry-run]

Example:

tfu update -d /Users/dirien/Tools/repos/stackit-minecraft/

🔎 Start scanning for TF providers...  ⢿ 
🎉 Scanning finished...   

   FILE   |                                          PROVIDER (P) / MODULE (M)                                          | USED VERSION | LATEST VERSION | UPDATABLE  
----------+-------------------------------------------------------------------------------------------------------------+--------------+----------------+------------
  main.tf | [email protected]:rackspace-infrastructure-automation/aws-terraform-asg_instance_replacement//?ref=v0.12.0 (M) | 0.12.0       | 0.12.1         | true       
  main.tf | [email protected]:rackspace-infrastructure-automation/aws-terraform-vpc_basenetwork//?ref=v0.12.1 (M)          | 0.12.1       | 0.12.7         | true       
  main.tf | [email protected]:rackspace-infrastructure-automation/aws-terraform-security_group//?ref=v0.12.0 (M)           | 0.12.0       | 0.12.3         | true       
  main.tf | [email protected]:rackspace-infrastructure-automation/aws-terraform-ec2_asg//?ref=v0.12.1 (M)                  | 0.12.1       | 0.12.15        | true       
  main.tf | [email protected]:rackspace-infrastructure-automation/aws-terraform-ec2_asg//?ref=v0.12.1 (M)                  | 0.12.1       | 0.12.15        | true       
  main.tf | hashicorp/consul/aws (M)                                                                                    | 0.1.0        | 0.11.0         | true       
  main.tf | hashicorp/oci (P)                                                                                           | 4.31.0       | 4.40.0         | true  

Contributing 🤝

Contributing via GitHub

Feel free to join.

License

Apache License, Version 2.0

Libraries & Tools 🔥

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].