mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-21 14:12:20 +08:00
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:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user