Fixes the following issues with the `web/git` Ansible scripts. - Updates cache before installing `python3-pip`. - Forces `terraform init` configuration during provisioning. - Requires user to set an `endpoint_url` to get the backup file from S3. In addition, I'm removing the last of AWS from the repository: - The routing uses Hetzner now, so let's get rid of all of that. Reviewed-on: #4 Co-authored-by: Max <git@maximhutz.me> Co-committed-by: Max <git@maximhutz.me>
25 lines
433 B
HCL
25 lines
433 B
HCL
terraform {
|
|
backend "s3" {
|
|
skip_credentials_validation = true
|
|
skip_region_validation = true
|
|
skip_requesting_account_id = true
|
|
}
|
|
|
|
required_providers {
|
|
hcloud = {
|
|
source = "hetznercloud/hcloud"
|
|
version = "~> 1.45"
|
|
}
|
|
}
|
|
}
|
|
|
|
provider "hcloud" {
|
|
token = var.hcloud_token
|
|
}
|
|
|
|
provider "aws" {
|
|
region = var.aws_region
|
|
access_key = var.aws_access_key
|
|
secret_key = var.aws_secret_key
|
|
}
|