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?