hashicorp / terraform

Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.
https://www.terraform.io/
Other
41.58k stars 9.4k forks source link

[New AWS Feature] aws_codebuild_webhook event trigger #35258

Open susana-zhou1 opened 3 weeks ago

susana-zhou1 commented 3 weeks ago

Terraform Version

Terraform v1.8.4
on linux_amd64
+ provider registry.terraform.io/hashicorp/aws v4.67.0

Use Cases

AWS has recently pushed a new feature that allows the use of codebuild as github self-hosted runners. Currently WORKFLOW_JOB_QUEUED is not supported in the aws_codebuild_webhook filters. Enables seamless integration between gihub actions and codebuild for use of private runners.

Attempted Solutions

Currently use github actions to trigger a codebuild. Which requires there to be a codebuild per action. This new feature allows codebuild to run what is queued from github actions, hence a single codebuild for all github actions on the repository.

Proposal

No response

References

https://docs.aws.amazon.com/codebuild/latest/userguide/action-runner.html

apparentlymart commented 3 weeks ago

Hi @susana-zhou1! Thanks for this feature request.

Unfortunately from your description it's not clear to me what you are asking for specifically. I understand that AWS Codebuild has this new feature, but I'm not sure what new Terraform feature you are anticipating that would make use of it.

Can you say some more about what exactly you'd like to achieve with this new feature, and how exactly you'd like Terraform to change to support it? Thanks!