I would like to set some metadata in the s3 bucket .tfstate file when I run
terraform init
-backend-config=“key=dev/bastion/.tfstate”
-backend-config=“bucket=<some_bucket_name>”
-backend-config=“region=<some_region>”
*-backend-config=“metadata=<some_metadata__kv_pair>” *
-backend-config=“encrypt=true”
-backend-config=“<some_dynamoDB_table>”
-reconfigure
the *-backend-config=“metadata=<some_metadata_kv_pair>” * directive is what I am hoping exists in some form.
I do understand that there would be a backslash at the end of each line but this forum engine appears to remove it in the post.
Is there somewhere that I can research this or is there currently no method available in the terraform init process?