Our service provides a secure and scalable backend for storing your Terraform state files. Simply configure your Terraform projects to use our backend, and we'll take care of the rest.
To use our service, add the configuration provided below to your Terraform files.
Here's an example configuration file for your Terraform backend:
Replace YOUR@EMAILADDRESS.COM
and YOURPASSWORD
with the credentials you used to register.
Replace YOURPROJECTNAME
with a unique project name for each project you would like to isolate state for, bearing in mind that sharing project names can increase risks.
terraform {
backend "http" {
address = "https://statebe.io/statebe/terraform-states/YOURPROJECTNAME/"
lock_address = "https://statebe.io/statebe/terraform-states/YOURPROJECTNAME/lock/"
unlock_address = "https://statebe.io/statebe/terraform-states/YOURPROJECTNAME/unlock/"
lock_method = "POST"
unlock_method = "DELETE"
username = "YOUR@EMAILADDRESS.COM"
password = "YOURPASSWORD"
}
}
# Example resource
resource "null_resource" "example" {
triggers = {
always_run = "${timestamp()}"
}
provisioner "local-exec" {
command = "echo Hello, Statebe!"
}
}
Create a group, add yourself and your colleague to the group
Please note that this service is currently in alpha stage. While we strive to provide the best possible experience, the service is provided "as is" without warranty of any kind, either expressed or implied.
Use at your own risk. We recommend not using this service for critical production environments at this time.