Terraform installation step is not working while using below commands
curl -SL "https://releases.hashicorp.com/terraform/0.12.24/terraform_0.12.24_$(uname | tr '[:upper:]' '[:lower:]')_amd64.zip" |
tar -xf - && \
I'm using RHEL 7.6 os . Actually this is zip file not tar. so we need to use unzip
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Error msg
[root@sap-ansible ~]# curl -SL "https://releases.hashicorp.com/terraform/0.12.24/terraform_0.12.24_$(uname | tr '[:upper:]' '[:lower:]')_amd64.zip" | \
tar -xf - &&
chmod +x terraform
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0tar: This does not look like a tar archive
tar: Skipping to next header
100 15.7M 100 15.7M 0 0 57.5M 0 --:--:-- --:--:-- --:--:-- 57.7M
tar: Exiting with failure status due to previous errors
Environment (if apply):
- OS: [e.g. iOS] RHEL
- Browser [e.g. chrome, safari]: Chrome
- Version [e.g. 22] 7.6
Terraform installation step is not working while using below commands
curl -SL "https://releases.hashicorp.com/terraform/0.12.24/terraform_0.12.24_$(uname | tr '[:upper:]' '[:lower:]')_amd64.zip" |
tar -xf - && \
I'm using RHEL 7.6 os . Actually this is zip file not tar. so we need to use unzip
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Error msg
[root@sap-ansible ~]# curl -SL "https://releases.hashicorp.com/terraform/0.12.24/terraform_0.12.24_$(uname | tr '[:upper:]' '[:lower:]')_amd64.zip" | \
Environment (if apply):