been using terraform heavily for 5 years and have hacked together modules and custom providers for various ad-hoc things. One of the things that has always really frustrated me about terraform is that it seems to go out of its way to make you do things in a very annoying, inconsistent way. Part of this is necessary due to the nature of the provider ecosystem, you can't guarantee consistency across providers - and I w…
What really grinds my gears is how hard it is to refactor terraform code. Put something in a module, but want to move it elsewhere? Get ready for pain. I've been using terranix, which uses nix to generate a tf.json file, and oh my god is the experience night and day. I can make functions! I can refactor! And if it's a pure refactor, there is nothing to apply.
Oracle dumps Terraform for OpenTofu
101–110 of 191 posts
Re: Oracle dumps Terraform for OpenTofu
#102been using terraform heavily for 5 years and have hacked together modules and custom providers for various ad-hoc things. One of the things that has always really frustrated me about terraform is that it seems to go out of its way to make you do things in a very annoying, inconsistent way. Part of this is necessary due to the nature of the provider ecosystem, you can't guarantee consistency across providers - and I w…
Re: Oracle dumps Terraform for OpenTofu
#103been using terraform heavily for 5 years and have hacked together modules and custom providers for various ad-hoc things. One of the things that has always really frustrated me about terraform is that it seems to go out of its way to make you do things in a very annoying, inconsistent way. Part of this is necessary due to the nature of the provider ecosystem, you can't guarantee consistency across providers - and I w…
What really grinds my gears is how hard it is to refactor terraform code. Put something in a module, but want to move it elsewhere? Get ready for pain. I've been using terranix, which uses nix to generate a tf.json file, and oh my god is the experience night and day. I can make functions! I can refactor! And if it's a pure refactor, there is nothing to apply.
my process is roughly:
comment out the resource in the module, run a plan -> get output like:
"module.foo1.aws_resource.bar will be deleted"
Then copy my resource in source to module.foo2.aws_resource.bar, the command becomes:
terraform state mv module.foo1.aws_resource.bar module.foo2.aws_resource.bar
I guess this might be harder if you're using upstream "official" modules, but I avoid those like the plague.
Re: Oracle dumps Terraform for OpenTofu
#104I wish there was a type safe, algebraic data type using Terraform alternative.
Even self hosting your state management in a bucket is simpler with Pulumi since it uses lock files on S3 versus a separate DyanamoDB + S3 combo.
I have been using it in production for 4-5 years and used Terraform for several years before that.
Re: Oracle dumps Terraform for OpenTofu
#105Slightly off-topic, but one of my greatest pet-peeves of working in devops is every few years a new "killer tech" comes out that some contingent of very-highly-opinionated (though not always very senior) people insists is life-and-death stakes and wants the whole company to move to (e.g. terraform). Too often it's a failure. Too often it has some upsides, but also is a LOT of work that is discovered over time. Too of…
Re: Oracle dumps Terraform for OpenTofu
#106Earlier quoted context omitted.
Thats the way world works. Here in this forum so many software people asking for best possible salaries and perks, and when it comes paying a bit to good productivity software same developers are always full of excuses like. 1) Oh, I prefer open source alternative for ideological reason. 2) This software is not really worth that much. 3) Hectoring developers every single time in providing why their software should be…
It's important to remember that a community is not a single minded entity. It's members can hold many contradicting beliefs, while each individual is ideologically consistent. This shouldn't be unexpected and it's not an excuse to be dismissive to an imagined hypocrite. Not saying there aren't hypocrites in this world, just that we shouldn't treat members of a community as some kind of superset of everything in that…
Re: Oracle dumps Terraform for OpenTofu
#107Earlier quoted context omitted.
It's important to remember that a community is not a single minded entity. It's members can hold many contradicting beliefs, while each individual is ideologically consistent. This shouldn't be unexpected and it's not an excuse to be dismissive to an imagined hypocrite. Not saying there aren't hypocrites in this world, just that we shouldn't treat members of a community as some kind of superset of everything in that…
Its not unexpected and neither is Oracle's approach unexpected still its worth talking about. Besides I made observation about people in community and not community itself as I did not say HN thinks software should not be paid for .
Can you link any specific HN user who holds any 3 of those specific beliefs, or was this hypocritical strawman purpose-built to bolster your argument?
Re: Oracle dumps Terraform for OpenTofu
#108been using terraform heavily for 5 years and have hacked together modules and custom providers for various ad-hoc things. One of the things that has always really frustrated me about terraform is that it seems to go out of its way to make you do things in a very annoying, inconsistent way. Part of this is necessary due to the nature of the provider ecosystem, you can't guarantee consistency across providers - and I w…
If OT want to win all they need to do is actually make it possible to debug the code.
Second that. One of my colleagues is working on adding proper tracing to the OpenTofu codebase, to help understand the exact cause of failures.
Re: Oracle dumps Terraform for OpenTofu
#109It's great to see more companies adopting OpenTofu, and especially larger ones! As a side note, we've recently released OpenTofu 1.7 with end-to-end state encryption, enhanced provider-defined functions, and a bunch more[0]. If you've been holding out with the migration, now is the perfect moment to take another look, and join the many companies that have already migrated! [0]: https://github.com/opentofu/opentofu/re…
Re: Oracle dumps Terraform for OpenTofu
#110It's great to see more companies adopting OpenTofu, and especially larger ones! As a side note, we've recently released OpenTofu 1.7 with end-to-end state encryption, enhanced provider-defined functions, and a bunch more[0]. If you've been holding out with the migration, now is the perfect moment to take another look, and join the many companies that have already migrated! [0]: https://github.com/opentofu/opentofu/re…
I understand why people were upset about licensing changes but I was not one of them who were particularly bothered. Why should I switch?