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