fix incorrect variables and references

This commit is contained in:
Daniel Roth 2026-03-13 11:59:59 +00:00
parent 71bc67a4b1
commit b96b71a05a
3 changed files with 2 additions and 17 deletions

View file

@ -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"
}

View file

@ -1,3 +0,0 @@
output "cloudfront_domain_name" {
value = module.api_cdn.cloudfront_domain_name
}

View file

@ -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
# }
}