I’ve got “protection” feature by default (and I didn’t notice I even had it up until now) from my internet provider, Bezeq International. In the last few days I was experiencing selective reachability. Some IPs were just blocked by the “protection”.
More than 20 minutes with support that wanted to install their binaries on my laptop (I couldn’t do it for many reasons) and then about 5 minutes with some more senior guy that after hearing the symptoms just turned that thing off. Everything works fine now.
Hope this helps other people so they could recognize the situation and immediately know what’s happening.
- One of GitHub web IPs was blocked.
- Broken FaceBook
;; ANSWER SECTION:
static.xx.fbcdn.net. 3599 IN CNAME scontent.xx.fbcdn.net.
scontent.xx.fbcdn.net. 59 IN A 126.96.36.199
- Broken AWS. Manifested in timeouts talking to various services endpoints.
Following are just screenshots of http://ec2-reachability.amazonaws.com/ :
I was hoping that smart guys vs bad situation will have another outcome but Terraform language for version 0.12 looks bad… as languages of Puppet and Ansible.
I’m not saying that people that made Puppet and Ansible are not smart. It’s that we could learn from the mistakes they made… unless we don’t consider those being mistakes.
Puppet and Ansible went through very similar difficult situation. They have limited themselves to a declarative format and then they tried to accommodate the real life. Terraform has this situation right now.
The situation is:
- Declarative format being used
- People need something more powerful, like a programming language because … real life where conditionals, loops and data transformations make much more sense than working around declarative languages limitations.
Interestingly enough, they all did not switch to a proper programming language. Maybe because that would be at least partially admitting that the product should have been a library in the first place?
Terraform is actually in very crappy situation because even if they decide to expose everything as a library as the main interface, I don’t see people start using Go for “infrastructure as code”. Not as smooth as Ruby or Python anyway.
Happy coding, everyone!
On a bit more positive note, the new splat operator looks like an improvement.
Terraform looks even more like a “normal” language with Conditional Operator Improvements and
null value. The conditional operator fixes previous oddities that it had.
Terraform got type system. Looks powerful. Just need to see that Terraform does not evolve to Scala 🙂
New template syntax brings more raw power. Looks good.
- HCL to JSON one-to-one mapping. When I read “having a clean 1:1 mapping between HCL and JSON, and ensuring every feature of HCL is supported in JSON” I immediately thought that there must be converting tools then… and was not disappointed 🙂 “In future versions of Terraform, we will also support native tooling to convert HCL to JSON and JSON to HCL cleanly (including comments)”
- “Comments in JSON” – nice!