mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
fix incorrect variables and references
This commit is contained in:
parent
71bc67a4b1
commit
b96b71a05a
3 changed files with 2 additions and 17 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 = "assessment-model-terraform-state"
|
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"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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" {
|
output "api_endpoint" {
|
||||||
value = aws_apigatewayv2_stage.this.invoke_url
|
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