upgrade s3 backend configuration, with new aws backend property
This commit is contained in:
parent
f490008600
commit
9f15c7c6af
9
main.tf
9
main.tf
@ -9,16 +9,19 @@ terraform {
|
|||||||
}
|
}
|
||||||
|
|
||||||
backend "s3" {
|
backend "s3" {
|
||||||
endpoint = "http://s3.localdomain"
|
endpoints = {
|
||||||
|
s3 = "http://s3.localdomain"
|
||||||
|
}
|
||||||
key = "postgres.tfstate"
|
key = "postgres.tfstate"
|
||||||
bucket = "terraform"
|
bucket = "terraform"
|
||||||
region = "FR"
|
region = "FR"
|
||||||
skip_credentials_validation = true
|
skip_credentials_validation = true
|
||||||
|
skip_requesting_account_id = true
|
||||||
skip_region_validation = true
|
skip_region_validation = true
|
||||||
skip_metadata_api_check = true
|
skip_metadata_api_check = true
|
||||||
shared_credentials_file = "~/.aws/credentials"
|
shared_credentials_files = ["~/.aws/credentials"]
|
||||||
profile = "minio"
|
profile = "minio"
|
||||||
force_path_style = true
|
use_path_style = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user