I'm using Terraform with AWS and S3/Dynamo for the remote state of all our modules. This works fine and is great.
But where are you going to save your state file for the module, where you create the S3 bucket and the DynamoDB (for the remote state)?
It sounds like a "Chicken or the egg" problem. Should I upload the state file to the GIT repository, even if I shouldn't store it there?
Normally this state is no longer touched, but it would be cleaner if all developers could access the state, wouldn't it? What are your best practices?