Skip to content

Conversation

YakDriver
Copy link
Member

@YakDriver YakDriver commented Sep 25, 2025

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

This PR adds the aws_transcribe_start_transcription_job action, which enables imperative starting of Amazon Transcribe transcription jobs within Terraform workflows. The action accepts a media file URI from S3 and transcription job configuration (language code or automatic language detection), starts the transcription job via the AWS API, and waits for it to reach "IN_PROGRESS" or "COMPLETED" status before returning. This allows users to trigger transcription jobs as part of their infrastructure deployments, such as processing uploaded audio files or integrating transcription into CI/CD pipelines, while maintaining Terraform's declarative approach for the underlying infrastructure resources.

Relations

Depends #44465

Relates:

References

Output from Acceptance Testing

2025/09/24 21:44:38 Creating Terraform AWS Provider (SDKv2-style)...
2025/09/24 21:44:38 Initializing Terraform AWS Provider (SDKv2-style)...
=== RUN   TestAccTranscribeStartTranscriptionJobAction_basic
=== PAUSE TestAccTranscribeStartTranscriptionJobAction_basic
=== RUN   TestAccTranscribeStartTranscriptionJobAction_identifyLanguage
=== PAUSE TestAccTranscribeStartTranscriptionJobAction_identifyLanguage
=== RUN   TestAccTranscribeStartTranscriptionJobAction_withOutputLocation
=== PAUSE TestAccTranscribeStartTranscriptionJobAction_withOutputLocation
=== CONT  TestAccTranscribeStartTranscriptionJobAction_basic
=== CONT  TestAccTranscribeStartTranscriptionJobAction_withOutputLocation
=== CONT  TestAccTranscribeStartTranscriptionJobAction_identifyLanguage
--- PASS: TestAccTranscribeStartTranscriptionJobAction_basic (10.80s)
--- PASS: TestAccTranscribeStartTranscriptionJobAction_identifyLanguage (10.93s)
--- PASS: TestAccTranscribeStartTranscriptionJobAction_withOutputLocation (11.28s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/transcribe	16.347s

@YakDriver YakDriver requested a review from a team as a code owner September 25, 2025 04:47
Copy link
Contributor

Community Guidelines

This 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

  • Please vote on this Pull Request by adding a 👍 reaction to the original post to help the community and maintainers prioritize it.
  • Please see our prioritization guide for additional information on how the maintainers handle prioritization.
  • Please do not leave +1 or other comments that do not add relevant new information or questions; they generate extra noise for others following the Pull Request and do not help prioritize the request.

Pull Request Authors

  • Review the contribution guide relating to the type of change you are making to ensure all of the necessary steps have been taken.
  • Whether or not the branch has been rebased will not impact prioritization, but doing so is always a welcome surprise.

@github-actions github-actions bot added generators Relates to code generators. service/transcribe Issues and PRs that pertain to the transcribe service. prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. size/XS Managed by automation to categorize the size of a PR. documentation Introduces or discusses updates to documentation. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. size/XL Managed by automation to categorize the size of a PR. labels Sep 25, 2025
@YakDriver YakDriver changed the title New action: aws_transcribe_start_transcription_job New action: aws_transcribe_start_transcription_job Sep 25, 2025
@YakDriver YakDriver force-pushed the f-transcribe-start-transcription-job branch from cde0427 to 5c2e16f Compare September 26, 2025 04:24
@github-actions github-actions bot added service/ec2 Issues and PRs that pertain to the ec2 service. service/codebuild Issues and PRs that pertain to the codebuild service. service/cloudfront Issues and PRs that pertain to the cloudfront service. labels Sep 26, 2025
@YakDriver YakDriver force-pushed the f-transcribe-start-transcription-job branch from 50cd218 to 943b636 Compare September 30, 2025 21:16
@YakDriver
Copy link
Member Author

Most recent:

% make t T=TestAccTranscribeStartTranscriptionJobAction_ K=transcribe
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
make: Running acceptance tests on branch: 🌿 f-transcribe-start-transcription-job 🌿...
TF_ACC=1 go1.24.6 test ./internal/service/transcribe/... -v -count 1 -parallel 20 -run='TestAccTranscribeStartTranscriptionJobAction_'  -timeout 360m -vet=off
2025/09/30 17:15:45 Creating Terraform AWS Provider (SDKv2-style)...
2025/09/30 17:15:45 Initializing Terraform AWS Provider (SDKv2-style)...
=== RUN   TestAccTranscribeStartTranscriptionJobAction_basic
=== PAUSE TestAccTranscribeStartTranscriptionJobAction_basic
=== RUN   TestAccTranscribeStartTranscriptionJobAction_identifyLanguage
=== PAUSE TestAccTranscribeStartTranscriptionJobAction_identifyLanguage
=== RUN   TestAccTranscribeStartTranscriptionJobAction_withOutputLocation
=== PAUSE TestAccTranscribeStartTranscriptionJobAction_withOutputLocation
=== CONT  TestAccTranscribeStartTranscriptionJobAction_basic
=== CONT  TestAccTranscribeStartTranscriptionJobAction_withOutputLocation
=== CONT  TestAccTranscribeStartTranscriptionJobAction_identifyLanguage
--- PASS: TestAccTranscribeStartTranscriptionJobAction_identifyLanguage (16.91s)
--- PASS: TestAccTranscribeStartTranscriptionJobAction_basic (17.07s)
--- PASS: TestAccTranscribeStartTranscriptionJobAction_withOutputLocation (17.72s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/transcribe	22.869s

@github-actions github-actions bot added service/lambda Issues and PRs that pertain to the lambda service. service/sns Issues and PRs that pertain to the sns service. service/ses Issues and PRs that pertain to the ses service. service/sfn Issues and PRs that pertain to the sfn service. labels Oct 3, 2025
Copy link
Contributor

@ewbankkit ewbankkit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀.

@YakDriver YakDriver merged commit ea5918c into main Oct 7, 2025
64 checks passed
@YakDriver YakDriver deleted the f-transcribe-start-transcription-job branch October 7, 2025 17:40
Copy link
Contributor

github-actions bot commented Oct 7, 2025

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.

@github-actions github-actions bot added this to the v6.16.0 milestone Oct 7, 2025
terraform-aws-provider bot pushed a commit that referenced this pull request Oct 7, 2025
@github-actions github-actions bot removed the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Oct 9, 2025
Copy link
Contributor

github-actions bot commented Oct 9, 2025

This functionality has been released in v6.16.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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Introduces or discusses updates to documentation. generators Relates to code generators. service/cloudfront Issues and PRs that pertain to the cloudfront service. service/codebuild Issues and PRs that pertain to the codebuild service. service/ec2 Issues and PRs that pertain to the ec2 service. service/lambda Issues and PRs that pertain to the lambda service. service/ses Issues and PRs that pertain to the ses service. service/sfn Issues and PRs that pertain to the sfn service. service/sns Issues and PRs that pertain to the sns service. service/transcribe Issues and PRs that pertain to the transcribe service. size/XL Managed by automation to categorize the size of a PR. size/XS Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants