terraform-aws-control_tower_account_factory icon indicating copy to clipboard operation
terraform-aws-control_tower_account_factory copied to clipboard

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

Open nitrocode opened this issue 3 years ago • 2 comments

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
}

nitrocode avatar Feb 18 '22 03:02 nitrocode

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.

snebhu3 avatar Feb 23 '22 18:02 snebhu3

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

seansilvestri avatar Oct 06 '23 15:10 seansilvestri