Skip to content
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

Fix casting of bitrate and sample rate for aac settings #29807

Merged

Conversation

LasseEmilHildebrandt
Copy link
Contributor

Description

Fixed castings for bitrate and sample_rate for aac_settings.

Relations

References

Output from Acceptance Testing

make testacc TESTS=TestAccMediaLiveChannel_audioDescriptions_codecSettings PKG=medialive
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/medialive/... -v -count 1 -parallel 20 -run='TestAccMediaLiveChannel_audioDescriptions_codecSettings'  -timeout 180m
=== RUN   TestAccMediaLiveChannel_audioDescriptions_codecSettings
=== PAUSE TestAccMediaLiveChannel_audioDescriptions_codecSettings
=== CONT  TestAccMediaLiveChannel_audioDescriptions_codecSettings
--- PASS: TestAccMediaLiveChannel_audioDescriptions_codecSettings (97.66s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/medialive	99.709s
...

@github-actions
Copy link

github-actions bot commented Mar 6, 2023

Community Note

Voting for Prioritization

  • Please vote on this pull request by adding a 👍 reaction to the original post to help the community and maintainers prioritize this pull request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

For Submitters

  • Review the contribution guide relating to the type of change you are making to ensure all of the necessary steps have been taken.
  • For new resources and data sources, use skaff to generate scaffolding with comments detailing common expectations.
  • Whether or not the branch has been rebased will not impact prioritization, but doing so is always a welcome surprise.

@github-actions
Copy link

github-actions bot commented Mar 6, 2023

Hey @LasseEmilHildebrandt 👋 Thank you very much for your contribution! At times, our maintainers need to make direct edits to pull requests in order to help get it ready to be merged. Your current settings do not allow maintainers to make such edits. To help facilitate this, update your pull request to allow such edits as described in GitHub's Allowing changes to a pull request branch created from a fork documentation. (If you're using a fork owned by an organization, your organization may not allow you to change this setting. If that is the case, let us know.)

@github-actions github-actions bot added needs-triage Waiting for first response or review from a maintainer. service/medialive Issues and PRs that pertain to the medialive service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. size/XS Managed by automation to categorize the size of a PR. labels Mar 6, 2023
@LasseEmilHildebrandt
Copy link
Contributor Author

Hey @LasseEmilHildebrandt 👋 Thank you very much for your contribution! At times, our maintainers need to make direct edits to pull requests in order to help get it ready to be merged. Your current settings do not allow maintainers to make such edits. To help facilitate this, update your pull request to allow such edits as described in GitHub's Allowing changes to a pull request branch created from a fork documentation. (If you're using a fork owned by an organization, your organization may not allow you to change this setting. If that is the case, let us know.)

We are aware of this, we are unable to change this at the current moment.

@LasseEmilHildebrandt LasseEmilHildebrandt changed the title B include bitrate and sample rate for aac Include bitrate and sample rate for aac Mar 6, 2023
@LasseEmilHildebrandt LasseEmilHildebrandt changed the title Include bitrate and sample rate for aac Fix casting of bitrate and sample rate for aac settings Mar 6, 2023
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Welcome @LasseEmilHildebrandt 👋

It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTOR guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.

Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.

Thanks again, and welcome to the community! 😃

@justinretzolk justinretzolk added bug Addresses a defect in current functionality. and removed needs-triage Waiting for first response or review from a maintainer. labels Mar 6, 2023
@LasseEmilHildebrandt LasseEmilHildebrandt force-pushed the b-include_bitrate_and_sample_rate_for_aac branch from d66acac to 7757ffe Compare March 8, 2023 14:07
@johnsonaj
Copy link
Contributor

@LasseEmilHildebrandt thanks for the contribution! Overall the PR looks good. Before I run test, can you merge/rebase this PR with main? A few dependencies have been added since last week.

@johnsonaj johnsonaj added the waiting-response Maintainers are waiting on response from community or contributor. label Mar 14, 2023
Copy link
Contributor

@johnsonaj johnsonaj left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

$ make testacc TESTS=TestAccMediaLiveChannel_ PKG=medialive

==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/medialive/... -v -count 1 -parallel 20 -run='TestAccMediaLiveChannel_'  -timeout 180m
--- PASS: TestAccMediaLiveChannel_m2ts_settings (75.27s)
--- PASS: TestAccMediaLiveChannel_UDP_outputSettings (78.34s)
--- PASS: TestAccMediaLiveChannel_audioDescriptions_codecSettings (86.81s)
--- PASS: TestAccMediaLiveChannel_basic (90.10s)
--- PASS: TestAccMediaLiveChannel_updateTags (109.33s)
--- PASS: TestAccMediaLiveChannel_hls (146.02s)
--- PASS: TestAccMediaLiveChannel_disappears (153.50s)
--- PASS: TestAccMediaLiveChannel_update (216.78s)
--- PASS: TestAccMediaLiveChannel_status (261.82s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/medialive	264.870s

@johnsonaj johnsonaj removed the waiting-response Maintainers are waiting on response from community or contributor. label Mar 14, 2023
@johnsonaj
Copy link
Contributor

@LasseEmilHildebrandt thank you for the contribution! 🎉

@johnsonaj johnsonaj merged commit bd40a5b into hashicorp:main Mar 14, 2023
@github-actions github-actions bot added this to the v4.59.0 milestone Mar 14, 2023
@LasseEmilHildebrandt LasseEmilHildebrandt deleted the b-include_bitrate_and_sample_rate_for_aac branch March 15, 2023 07:56
@github-actions
Copy link

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

@github-actions
Copy link

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.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/medialive Issues and PRs that pertain to the medialive service. 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.

3 participants