Skip to content

Commit

Permalink
Extra ouputs from aws pre-req modules
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Enright <[email protected]>
  • Loading branch information
jimright committed Oct 5, 2023
1 parent 824cf5c commit 6275f17
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions modules/terraform-cdp-aws-pre-reqs/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,24 @@ output "aws_data_storage_location" {
description = "AWS data storage location"
}

output "aws_data_storage_object" {
value = local.data_storage.data_storage_object

description = "AWS data storage object"
}

output "aws_log_storage_bucket" {
value = "${local.log_storage.log_storage_bucket}${local.storage_suffix}"

description = "AWS log storage bucket"
}

output "aws_log_storage_object" {
value = local.log_storage.log_storage_object

description = "AWS log storage object"
}

output "aws_log_storage_location" {
value = "s3a://${local.log_storage.log_storage_bucket}${local.storage_suffix}/${local.log_storage.log_storage_object}"

Expand All @@ -98,6 +110,11 @@ output "aws_backup_storage_bucket" {
description = "AWS backup storage bucket"
}

output "aws_backup_storage_object" {
value = local.backup_storage.backup_storage_object

description = "AWS backup storage object"
}
output "aws_backup_storage_location" {
value = "s3a://${local.backup_storage.backup_storage_bucket}${local.storage_suffix}/${local.backup_storage.backup_storage_object}"

Expand Down Expand Up @@ -134,6 +151,12 @@ output "aws_xaccount_role_arn" {
description = "Cross Account role ARN"
}

output "aws_log_role_name" {
value = aws_iam_role.cdp_log_role.name

description = "Log role Name"
}

output "aws_log_instance_profile_arn" {
value = aws_iam_instance_profile.cdp_log_role_instance_profile.arn

Expand Down

0 comments on commit 6275f17

Please sign in to comment.