AWS Terraform fixes for license and update output of web address. (#47349)

* Two small fixes

1. Changes SSM tier to Advance to support new self hosted keys that are 4k+ in size.
2. Updates output of web address to use fqdn when ACM is disabled.

* Use "Intelligent-Tiering" to allow Terraform to pick the necessary Tier.
This commit is contained in:
Peter ONeill
2024-10-11 16:58:24 +00:00
committed by GitHub
parent 7a0d924f58
commit 01b9204ed1
4 changed files with 4 additions and 2 deletions
@@ -38,7 +38,7 @@ output "cluster_name" {
output "cluster_web_address" {
description = "Web address to access the Teleport cluster"
value = "https://${var.use_acm ? aws_route53_record.proxy_acm[0].name : aws_route53_record.proxy[0].name}"
value = "https://${var.use_acm ? aws_route53_record.proxy_acm[0].name : aws_route53_record.proxy[0].fqdn}"
}
output "key_name" {
@@ -8,4 +8,5 @@ resource "aws_ssm_parameter" "license" {
type = "SecureString"
value = file(var.license_path)
overwrite = true
tier = "Intelligent-Tiering"
}
@@ -10,7 +10,7 @@ output "cluster_name" {
output "cluster_web_address" {
description = "Web address to access the Teleport cluster"
value = "https://${var.use_acm ? aws_route53_record.cluster_acm[0].name : aws_route53_record.cluster[0].name}"
value = "https://${var.use_acm ? aws_route53_record.cluster_acm[0].name : aws_route53_record.cluster[0].fqdn}"
}
output "key_name" {
@@ -5,4 +5,5 @@ resource "aws_ssm_parameter" "license" {
type = "SecureString"
value = file(var.license_path)
overwrite = true
tier = "Intelligent-Tiering"
}