fix(vultr-vps): fix terraform s3 backend SignatureDoesNotMatch error
- Add skip_s3_checksum = true and skip_metadata_api_check = true to s3 backend config
- Use endpoints = { s3 = ... } instead of deprecated endpoint parameter
This commit is contained in:
parent
96b0372f51
commit
c2e7220d3e
@ -1,6 +1,8 @@
|
|||||||
terraform {
|
terraform {
|
||||||
backend "s3" {
|
backend "s3" {
|
||||||
endpoint = var.object_storage_endpoint
|
endpoints = {
|
||||||
|
s3 = var.object_storage_endpoint
|
||||||
|
}
|
||||||
bucket = var.state_bucket
|
bucket = var.state_bucket
|
||||||
key = var.state_key
|
key = var.state_key
|
||||||
region = var.region
|
region = var.region
|
||||||
@ -9,6 +11,8 @@ terraform {
|
|||||||
skip_credentials_validation = true
|
skip_credentials_validation = true
|
||||||
skip_region_validation = true
|
skip_region_validation = true
|
||||||
skip_requesting_account_id = true
|
skip_requesting_account_id = true
|
||||||
|
skip_metadata_api_check = true
|
||||||
|
skip_s3_checksum = true
|
||||||
force_path_style = true
|
force_path_style = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user