3 min read
When we enable tracing terraform using TF_LOG the output can be overwhelmingly hard to read due to the amount of info it's printed. Using TF_LOG_PATH we can tell terraform to save all the debug info to a file so we can see the usual output and be able to check the logs later on
05/10/2021
Read more...3 min read
If we have a set of resources on a set of terraform code that we want to move to another code base, we could use terraform import to import them to the new state but this required make the effort to identify the resources to import. If are going to import the entire state we can make it much easier using terraform state pull and terraform state push
30/09/2021
Read more...3 min read
If saving up to 90% for the same instance type is no reason enough to start using spot instances, to be able to use the same AutoScalingGroup to spawn both types of instances, saving us from the hassle of having to manage it by ourselves might help to change your mind
16/09/2021
Read more...2 min read
Launch templates were introducted in late 2017 as a replacement for launch configurations: They are very similar, although launch templates provide much deeper and wider options to configure the instances that are going to be launched (by using an Auto Scaling Group)
27/08/2021
Read more...4 min read
To be able to configure SecurityGroups we will have:
This is what needs to be done considering that we are going to use an ALB to direct traffic to the application.
26/08/2021
Read more...