aws-ia / terraform-aws-control_tower_account_factory

AWS Control Tower Account Factory
Apache License 2.0
652 stars 454 forks source link

Output all of `aft_account_request_framework` to allow additional customizations outside of module #84

Open nitrocode opened 2 years ago

nitrocode commented 2 years ago

The module.aft_account_request_framework would be useful to output because of these 4 outputs

module.aft_account_request_framework.aft_vpc_id
module.aft_account_request_framework.aft_vpc_default_sg
module.aft_account_request_framework.aft_vpc_private_subnets
module.aft_account_request_framework.aft_kms_key_arn

A nice but lazy way to do this is simply

output "aft_account_request_framework" {
  value = module.aft_account_request_framework
}

Also would be nice to output the aft_session_name to setup the same provider for a separate module

https://github.com/aws-ia/terraform-aws-control_tower_account_factory/blob/7eb4c314c63d8416d684f52551f97b42fa7b8e7d/locals.tf#L12

output "aft_session_name" {
  value = local.aft_session_name
}
snebhu3 commented 2 years ago

Thank you for the feature request. I have created an internal backlog to output aft_account_request_framework module which could help enable additional customization.

seansilvestri commented 1 year ago

any update on this? I need to add some route_table rules...