mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Merge pull request #868 from Hestia-Homes/main
FastAPI terraform deployment: fix incorrect variables and references
This commit is contained in:
commit
bab49f53c2
3 changed files with 2 additions and 17 deletions
|
|
@ -16,7 +16,7 @@ data "terraform_remote_state" "shared" {
|
|||
data "terraform_remote_state" "fast_api" {
|
||||
backend = "s3"
|
||||
config = {
|
||||
bucket = "assessment-model-terraform-state"
|
||||
bucket = "ara-fast-api-terraform-state"
|
||||
key = "env:/${var.stage}/terraform.tfstate"
|
||||
region = "eu-west-2"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
output "cloudfront_domain_name" {
|
||||
value = module.api_cdn.cloudfront_domain_name
|
||||
}
|
||||
|
|
@ -4,16 +4,4 @@ output "role_name" {
|
|||
|
||||
output "api_endpoint" {
|
||||
value = aws_apigatewayv2_stage.this.invoke_url
|
||||
}
|
||||
|
||||
output "cloudfront_domain" {
|
||||
value = aws_cloudfront_distribution.api.domain_name
|
||||
}
|
||||
|
||||
output "certificate_validation_records" {
|
||||
value = aws_acm_certificate.this.domain_validation_options
|
||||
}
|
||||
|
||||
# output "custom_domain_endpoint" {
|
||||
# value = var.domain_name != null ? "https://${var.domain_name}" : null
|
||||
# }
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue