aws-ia / terraform-aws-control_tower_account_factory

AWS Control Tower Account Factory
Apache License 2.0
604 stars 386 forks source link

Give Customizations Codebuild Jobs Access to Customer Defined ASM Secrets #455

Open addefisher opened 2 months ago

addefisher commented 2 months ago

Describe the outcome you'd like

I would like the terraform-aws-control_tower_account_factory module to expose a variable calledvar.customization_codebuild_secrets`

This would allow AFT customers to leverage AFT to deploy non-AWS resources as customizations (for example, an Okta group per AFT managed account).

Is your feature request related to a problem you are currently experiencing? If so, please describe.

Yes, we would like to use AFT to deploy non-AWS resources as customizations, but we do not have a clean way to provide credentials for non-AWS Terraform providers to the customization CodeBuild projects.

Additional context

snebhu3 commented 1 week ago

@addefisher thank you for reaching out. Please may you elaborate on the ask with examples and snippets to ensure we understand the requirement better. Please may you also expand on if you have already explored achieving the goal with existing capabilities (pre-/post api helpers etc. ) and what were the challenges there?