Using variables in Terraform

Using variables in Terraform

I hope my previous article on Terraform was helpful and you were able to create your first AWS EC2 instance using Terraform. Further in this article we are going to talk about variables. Variables are important part of Terraform. There would be elements which would change or reused. Based on different requirements some decisions need to be made. Also, you don't want to keep your credentials in plain text files. Different AMIs need to used depending upon region and requirement.┬áVariables are always helpful to remove ambiguity in code. In last article we used…Read more …

Delete files from trash of different drives via command line

I have recently updated my Ubuntu OS. I am facing a lot of problems after that. Recently trash icon from my desktop disappeared. I have deleted some files from my drive but space was not freed. It was because the files were going to trash and they were not deleted from there. After playing with command line I got to know that files which we delete are in .Trash folder. Each drive has its own .Trash folder. My drive's name is 'New Volume' you need to navigate to that drive: Laptop:~/Desktop$ cd /media/New…Read more …