Skip to content
This repository was archived by the owner on Jul 20, 2024. It is now read-only.

Add ASG ARN output variable #63

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,8 @@ output "iam_role_name" {
description = "Name of the IAM role for the NAT instance"
value = aws_iam_role.this.name
}

output "autoscaling_group_arm" {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arn not arm

description = "ASG ARN"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"The ARN for this autoscaling group" might be a better description here based on the popular eks module https://github.com/terraform-aws-modules/terraform-aws-eks/blob/771465be280450fc96d889ef9e15f191bb512849/modules/self-managed-node-group/outputs.tf#L30

value = aws_autoscaling_group.this.arn
}