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

Customizing Codebuild buildspecs via Terraform

Open bartoszbryk opened this issue 1 year ago • 4 comments

Describe the outcome you'd like We want to customize our Codebuild projects to use slightly different buildspec. We'd like to make that change via terraform code. Please add a feature toggle or input variable that would allow us to configure that

Is your feature request related to a problem you are currently experiencing? If so, please describe. We have some specific requirements that we need to fulfil by modifying the Codebuild buildspec. However, every new apply of AFT module will require us to change them again. We'd like to be able to add that to the terraform code, or recreate those resources in our own configuration, however we weren't able to achieve that with current setup of the module.

Additional context

Add any other context or screenshots about the feature request here.

bartoszbryk avatar May 31 '24 14:05 bartoszbryk

@bartoszbryk thank you for reaching out. I will create an internal backlog to further evaluate this feature request.

snebhu3 avatar Jun 21 '24 20:06 snebhu3

@bartoszbryk please may you suggest if you have explored leveraging Pre-API helpers to achieve your goal? You could also refer to account customizations README to understand more about Pre-API helpers.

snebhu3 avatar Jun 21 '24 22:06 snebhu3

@bartoszbryk thank you for reaching out. I will create an internal backlog to further evaluate this feature request.

@snebhu3 Has there been any movement on this issue in the internal backlog? We also need to overwrite workspace name values in the buildspec resulting in state drift. Either parameterize the buildspec or parameterize the entire buildspec file are solutions that that would solve my issue.

ryan-neff avatar Mar 31 '25 13:03 ryan-neff