Terraform: Difference between revisions
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
Hardcoded install | Hardcoded install | ||
cd /tmp/ ; curl -sk -L https://releases.hashicorp.com/terraform/1.5.5/terraform_1.5.5_linux_amd64.zip -O ; cd /usr/bin/ ; sudo unzip /tmp/terraform_1.5.5_linux_amd64.zip | cd /tmp/ ; curl -sk -L https://releases.hashicorp.com/terraform/1.5.5/terraform_1.5.5_linux_amd64.zip -O ; cd /usr/bin/ ; sudo unzip /tmp/terraform_1.5.5_linux_amd64.zip | ||
=Remove terraform infrastructure= | |||
terraform destroy | |||
=show= | |||
terraform show |
Revision as of 08:33, 18 October 2023
install terraform
sudo dnf install -y dnf-plugins-core sudo dnf config-manager --add-repo https://rpm.releases.hashicorp.com/fedora/hashicorp.repo sudo dnf install terraform
Hardcoded install
cd /tmp/ ; curl -sk -L https://releases.hashicorp.com/terraform/1.5.5/terraform_1.5.5_linux_amd64.zip -O ; cd /usr/bin/ ; sudo unzip /tmp/terraform_1.5.5_linux_amd64.zip
Remove terraform infrastructure
terraform destroy
show
terraform show