▲ | stackskipton a day ago | ||||||||||||||||
State can drift in SI as well unless you are subscribing to events from AWS that alert your system as soon as resource is changed so you can update your side. >the code you write is operating on that model, not generating that model. What are you talking about? That model is not reality because reality is whatever the state of resource is in AWS. If your model says my S3 bucket is not public but someone changes it in AWS to make it public, who cares, it's public and that's what's important. Sure, your system may update itself more frequently than only when I run "tofu plan/apply" but at end of the day, it doesn't matter. All I'm saying as SRE, you have done poor job selling this to me. I'm telling you what I would tell my boss if he came to me with this product. "This is some custom IaC system with AI Agents sprinkled on top. I guess if you want to get rid of SRE team and replace us with their consultants, whatever, I won't be here to care. If you want us as SRE team to use it, nope, it's a waste of money since OpenToFu has much better support. Can you approve my SpaceLift purchase instead?" | |||||||||||||||||
▲ | ryanryke a day ago | parent [-] | ||||||||||||||||
> Sure, your system may update itself more frequently than only when I run "tofu plan/apply" but at end of the day, it doesn't matter. Correct me if I'm wrong here. In my experience you have to "apply" before state is updated. This would mean we weren't quite operating on the source of truth. (aws in this case). 100% it's a solvable problem with a TF centric tool chain. But it's still a problem that needs solving. In my experience with SI it fades to the background. Now, I'm sure there is an edge case where someone edits something outside of SI while I'm trying to simultaneously update it in SI where things might break. I haven't run into it yet. > All I'm saying as SRE, you have done poor job selling this to me Can't argue this, but I would say like any other new tool, it's worth checking out. :) | |||||||||||||||||
|