News for hackers. Stuff that matters.
Re:Terraform Provider for Spotify by caymanjim on Thursday April 28, 2022 @12:20AM (#31188701)
There's nothing that says it has to be immutable. It's not uncommon to perform similar searches in e.g. AWS to select the latest version of some AMI or another resource that is subject to change, and applying with no changes to the Terraform code would update the resource. This isn't really "infrastructure" either. It's a neat use case.
Re:Terraform Provider for Spotify by cube2222 on Thursday April 28, 2022 @03:27AM (#31189681)
Moreover, you can pair it with drift detection (available in i.e. Spacelift[0]), and have it automatically detect when a data source changes (and apply the resulting infra changes).

Very common scenario with lots of neat use cases around it. One of the more interesting ones - use a GitHub pull request listing data source to create an ephemeral environment for each PR.

Disclaimer: Software Engineer at Spacelift

[0]:https://spacelift.io

Re:Terraform Provider for Spotify by darkwater on Thursday April 28, 2022 @03:41PM (#31197267)
Just received (I hope it was by chance) a cold mail from your company today. If I might be interestes by your post here, now I'm not anymore.