For clarity, change Configuration section to this:
Clone and Configure Repository
- Clone the repository
git clone https://codeberg.org/caution/platform.git
cd platform/terraform-bootstrap
- Edit
variables.tfto set a unique S3 bucket name:
nano variables.tf
Find the state_bucket_name variable and change the default value:
variable "state_bucket_name" {
default = "mycompany-caution-terraform-state" # Change this to something unique
}
Save with Ctrl+O, exit with Ctrl+X.
Available variables for customization:
Available variables for customization:
| Variable | Default | Required to change? | Description |
|---|---|---|---|
state_bucket_name |
caution-terraform-state |
Yes | S3 bucket name — must be globally unique across all AWS accounts |
aws_region |
us-west-2 |
Only if you prefer a different region | AWS region for all resources |
lock_table_name |
terraform-state-lock |
No | DynamoDB table name |
service_user_name |
caution-terraform-service |
No | IAM user name |
For clarity, change Configuration section to this:
# Clone and Configure Repository
1. Clone the repository
```
git clone https://codeberg.org/caution/platform.git
cd platform/terraform-bootstrap
```
2. Edit `variables.tf` to set a unique S3 bucket name:
`nano variables.tf`
Find the state_bucket_name variable and change the default value:
```
variable "state_bucket_name" {
default = "mycompany-caution-terraform-state" # Change this to something unique
}
```
Save with Ctrl+O, exit with Ctrl+X.
**Available variables for customization:**
**Available variables for customization:**
| Variable | Default | Required to change? | Description |
|----------|---------|---------------------|-------------|
| `state_bucket_name` | `caution-terraform-state` | **Yes** | S3 bucket name — must be globally unique across all AWS accounts |
| `aws_region` | `us-west-2` | Only if you prefer a different region | AWS region for all resources |
| `lock_table_name` | `terraform-state-lock` | No | DynamoDB table name |
| `service_user_name` | `caution-terraform-service` | No | IAM user name |