upgrade s3 backend configuration, with new aws backend property

This commit is contained in:
RouxAntoine 2024-08-16 09:25:12 +02:00
parent f490008600
commit 9f15c7c6af
Signed by: antoine
GPG Key ID: 098FB66FC0475E70

View File

@ -9,16 +9,19 @@ terraform {
}
backend "s3" {
endpoint = "http://s3.localdomain"
endpoints = {
s3 = "http://s3.localdomain"
}
key = "postgres.tfstate"
bucket = "terraform"
region = "FR"
skip_credentials_validation = true
skip_requesting_account_id = true
skip_region_validation = true
skip_metadata_api_check = true
shared_credentials_file = "~/.aws/credentials"
shared_credentials_files = ["~/.aws/credentials"]
profile = "minio"
force_path_style = true
use_path_style = true
}
}