Any explanation why you used remote state data source instead of just a normal data source. I don’t personally like coupling my state files in this way and usually use data resources that reference the remote object like the VPC.
I don't remember the exact context. We typically use a remote state data resource to obtain output variables from other modules or resources. I might have just used it as an example. If you use Terragrunt instead of a remote state, you would reference the module's output variable.
Thanks, Anton, this is an awesome tutorial for Terraform state. May I know after enabling the versioning on the S3 bucket, what's the step to roll back the terraform state utilizing multiple version?
🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
Arguably one of the best DevOps channels. Loved the video. Great as always! 👌
Thank you!
very-high quality video, easy to follow and perfect visible
Thanks!
Best ever explanation possible. Thanks a lot for this tutorial
Thanks!
Thank you for making this.
welcome!
Thanks! As always, very helpful!
Any explanation why you used remote state data source instead of just a normal data source. I don’t personally like coupling my state files in this way and usually use data resources that reference the remote object like the VPC.
I don't remember the exact context. We typically use a remote state data resource to obtain output variables from other modules or resources. I might have just used it as an example. If you use Terragrunt instead of a remote state, you would reference the module's output variable.
Thanks, Anton, this is an awesome tutorial for Terraform state.
May I know after enabling the versioning on the S3 bucket, what's the step to roll back the terraform state utilizing multiple version?
Thanks, you can switch versions of the state files in the S3 UI or use cli
If I do changes in userdata script using null resource will that reflect to actual state file ?
Can we have architecture design for this to understand in a better way
Thanks for the feedback. In new videos, I start with diagrams.
Hey bro, you can do tutorial on Flux2+Vault+external-secrets. thanks so much
Flux v2 is coming soon
@@AntonPutra Nice bro, Bro can integrate with vault+external-secrets. awesome or any another
Can I used same terraform state file to create resources in different regions. Pl answer Thanks in advance. 🙏
as far as I remember you can't override region in AWS provider, but you 100% can override GCP projects in each resource
❤
thanks