mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
Merge pull request #899 from Hestia-Homes/main
Deploy fastapi with terraform: hardcode tfstate bucket names when accessing them
This commit is contained in:
commit
477443e404
1 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ data "terraform_remote_state" "shared" {
|
||||||
data "terraform_remote_state" "fast_api" {
|
data "terraform_remote_state" "fast_api" {
|
||||||
backend = "s3"
|
backend = "s3"
|
||||||
config = {
|
config = {
|
||||||
bucket = data.terraform_remote_state.shared.ara_fast_api_state_bucket
|
bucket = "ara-fast-api-terraform-state"
|
||||||
key = "env:/${var.stage}/terraform.tfstate"
|
key = "env:/${var.stage}/terraform.tfstate"
|
||||||
region = "eu-west-2"
|
region = "eu-west-2"
|
||||||
}
|
}
|
||||||
|
|
@ -28,7 +28,7 @@ data "terraform_remote_state" "fast_api" {
|
||||||
data "terraform_remote_state" "cdn_certificate" {
|
data "terraform_remote_state" "cdn_certificate" {
|
||||||
backend = "s3"
|
backend = "s3"
|
||||||
config = {
|
config = {
|
||||||
bucket = data.terraform_remote_state.shared.cdn_certificate_state_bucket
|
bucket = "cdn-certificate-terraform-state"
|
||||||
key = "env:/${var.stage}/terraform.tfstate"
|
key = "env:/${var.stage}/terraform.tfstate"
|
||||||
region = "eu-west-2"
|
region = "eu-west-2"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue