-
Notifications
You must be signed in to change notification settings - Fork 9.8k
New action: aws_codebuild_start_build
#44444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Community GuidelinesThis comment is added to every new Pull Request to provide quick reference to how the Terraform AWS Provider is maintained. Please review the information below, and thank you for contributing to the community that keeps the provider thriving! 🚀 Voting for Prioritization
Pull Request Authors
|
aws_codebuild_start_build
| Message: "Build started, waiting for completion...", | ||
| }) | ||
|
|
||
| // Poll for build completion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note for our future selves -- we should pull this poll/send progress logic into something generic like we have with retries.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed!
ewbankkit
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀.
|
Warning This Issue has been closed, meaning that any additional comments are much easier for the maintainers to miss. Please assume that the maintainers will not see them. Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed. |
|
This functionality has been released in v6.15.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
|
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Rollback Plan
If a change needs to be reverted, we will publish an updated version of the library.
Changes to Security Controls
Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.
Description
Add aws_codebuild_start_build Terraform Action
Implements a new Terraform action to start AWS CodeBuild project builds imperatively within Terraform configurations.
Features
• Start builds for any CodeBuild project by name
• Environment variable overrides for build-specific configuration
• Source version control (branch, commit, tag)
• Configurable timeouts with progress monitoring
• Build completion tracking with status updates
Implementation
• Uses AutoFlex for clean data conversion
• Follows established action patterns from existing actions
• Proper polling with progress updates during build execution
• Comprehensive error handling for all build states
Testing
• ✅ End-to-end acceptance tests with real infrastructure
• ✅ Basic build functionality
• ✅ Environment variable override functionality
• ✅ Proper action trigger integration with terraform_data
Documentation
• Complete user documentation following existing action patterns
• Usage examples for basic and advanced scenarios
• Full argument reference with nested block documentation
Enables Day-2 operations like triggering builds for deployments, testing, or maintenance workflows directly from Terraform.
Relations
Relates:
aws_ec2_stop_instance#43700aws_cloudfront_create_invalidation#43955aws_lambda_invoke#43972aws_ses_send_email#44214aws_sns_publish#44232aws_codebuild_start_build#44444aws_transcribe_start_transcription_job#44445References
Output from Acceptance Testing