-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Add ARN-based resource identity to ivs
#43704
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
|
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.
One nit: the resource type that we're testing should be the first in the configuration. Otherwise, looks good
After update of the pre identity version. % make testacc PKG=ivs TESTS="TestAccIVSChannel|TestAccIVSRecordingConfiguration|TestAccIVS_serial/PlaybackKeyPair/"
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.24.5 test ./internal/service/ivs/... -v -count 1 -parallel 20 -run='TestAccIVSChannel|TestAccIVSRecordingConfiguration|TestAccIVS_serial/PlaybackKeyPair/' -timeout 360m -vet=off
2025/08/06 14:57:32 Creating Terraform AWS Provider (SDKv2-style)...
2025/08/06 14:57:32 Initializing Terraform AWS Provider (SDKv2-style)...
--- PASS: TestAccIVSChannel_disappears (30.74s)
--- PASS: TestAccIVSChannel_basic (36.99s)
--- PASS: TestAccIVSRecordingConfiguration_disappears (43.99s)
--- PASS: TestAccIVSRecordingConfiguration_disappears_S3Bucket (44.98s)
=== RUN TestAccIVS_serial/PlaybackKeyPair/tags
--- PASS: TestAccIVSChannel_recordingConfiguration (52.33s)
--- PASS: TestAccIVSRecordingConfiguration_basic (52.52s)
--- PASS: TestAccIVSChannel_Identity_Basic (55.28s)
--- PASS: TestAccIVSChannel_update (55.33s)
--- PASS: TestAccIVSChannel_Identity_RegionOverride (61.16s)
--- PASS: TestAccIVSRecordingConfiguration_Identity_RegionOverride (63.90s)
--- PASS: TestAccIVSChannel_tags (66.40s)
--- PASS: TestAccIVSRecordingConfiguration_Identity_Basic (69.27s)
--- PASS: TestAccIVSChannel_Identity_ExistingResource (69.83s)
--- PASS: TestAccIVSRecordingConfiguration_update (74.72s)
--- PASS: TestAccIVSRecordingConfiguration_Identity_ExistingResource (74.75s)
--- PASS: TestAccIVSRecordingConfiguration_tags (84.18s)
=== RUN TestAccIVS_serial/PlaybackKeyPair/disappears
=== RUN TestAccIVS_serial/PlaybackKeyPair/identity
=== RUN TestAccIVS_serial/PlaybackKeyPair/identity/ExistingResource
=== RUN TestAccIVS_serial/PlaybackKeyPair/identity/RegionOverride
=== RUN TestAccIVS_serial/PlaybackKeyPair/identity/basic
=== RUN TestAccIVS_serial/PlaybackKeyPair/basic
--- PASS: TestAccIVS_serial (205.39s)
--- PASS: TestAccIVS_serial/PlaybackKeyPair (205.39s)
--- PASS: TestAccIVS_serial/PlaybackKeyPair/update (45.14s)
--- PASS: TestAccIVS_serial/PlaybackKeyPair/tags (43.46s)
--- PASS: TestAccIVS_serial/PlaybackKeyPair/disappears (12.14s)
--- PASS: TestAccIVS_serial/PlaybackKeyPair/identity (90.01s)
--- PASS: TestAccIVS_serial/PlaybackKeyPair/identity/ExistingResource (41.90s)
--- PASS: TestAccIVS_serial/PlaybackKeyPair/identity/RegionOverride (26.19s)
--- PASS: TestAccIVS_serial/PlaybackKeyPair/identity/basic (21.92s)
--- PASS: TestAccIVS_serial/PlaybackKeyPair/basic (14.65s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ivs 211.756s |
This annotation can be used for acceptance tests which require an ECDSA public key PEM value for a required argument.
Add resource identity to ARN-based resources in `ivs`. This includes: `aws_ivs_channel` `aws_ivs_playback_key_pair` `aws_ivs_recording_configuration` ```console % make testacc PKG=ivs TESTS="TestAccIVSChannel|TestAccIVSRecordingConfiguration|TestAccIVS_serial/PlaybackKeyPair/" make: Verifying source code with gofmt... ==> Checking that code complies with gofmt requirements... TF_ACC=1 go1.24.5 test ./internal/service/ivs/... -v -count 1 -parallel 20 -run='TestAccIVSChannel|TestAccIVSRecordingConfiguration|TestAccIVS_serial/PlaybackKeyPair/' -timeout 360m -vet=off 2025/08/04 16:32:55 Creating Terraform AWS Provider (SDKv2-style)... 2025/08/04 16:32:56 Initializing Terraform AWS Provider (SDKv2-style)... --- PASS: TestAccIVSChannel_disappears (25.72s) === RUN TestAccIVS_serial/PlaybackKeyPair/update --- PASS: TestAccIVSChannel_basic (29.70s) --- PASS: TestAccIVSRecordingConfiguration_disappears_S3Bucket (38.53s) --- PASS: TestAccIVSChannel_Identity_Basic (45.48s) --- PASS: TestAccIVSRecordingConfiguration_disappears (45.81s) --- PASS: TestAccIVSChannel_recordingConfiguration (46.30s) --- PASS: TestAccIVSChannel_update (46.42s) --- PASS: TestAccIVSRecordingConfiguration_basic (49.21s) --- PASS: TestAccIVSChannel_Identity_RegionOverride (52.01s) --- PASS: TestAccIVSChannel_tags (56.36s) --- PASS: TestAccIVSRecordingConfiguration_Identity_RegionOverride (56.58s) --- PASS: TestAccIVSChannel_Identity_ExistingResource (60.47s) === RUN TestAccIVS_serial/PlaybackKeyPair/tags --- PASS: TestAccIVSRecordingConfiguration_Identity_Basic (61.72s) --- PASS: TestAccIVSRecordingConfiguration_update (64.36s) --- PASS: TestAccIVSRecordingConfiguration_Identity_ExistingResource (69.30s) --- PASS: TestAccIVSRecordingConfiguration_tags (77.87s) === RUN TestAccIVS_serial/PlaybackKeyPair/disappears === RUN TestAccIVS_serial/PlaybackKeyPair/identity === RUN TestAccIVS_serial/PlaybackKeyPair/identity/basic === RUN TestAccIVS_serial/PlaybackKeyPair/identity/ExistingResource === RUN TestAccIVS_serial/PlaybackKeyPair/identity/RegionOverride --- PASS: TestAccIVS_serial (198.39s) --- PASS: TestAccIVS_serial/PlaybackKeyPair (198.39s) --- PASS: TestAccIVS_serial/PlaybackKeyPair/basic (29.36s) --- PASS: TestAccIVS_serial/PlaybackKeyPair/update (31.69s) --- PASS: TestAccIVS_serial/PlaybackKeyPair/tags (35.14s) --- PASS: TestAccIVS_serial/PlaybackKeyPair/disappears (12.56s) --- PASS: TestAccIVS_serial/PlaybackKeyPair/identity (89.64s) --- PASS: TestAccIVS_serial/PlaybackKeyPair/identity/basic (22.38s) --- PASS: TestAccIVS_serial/PlaybackKeyPair/identity/ExistingResource (41.32s) --- PASS: TestAccIVS_serial/PlaybackKeyPair/identity/RegionOverride (25.94s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ivs 204.684s ```
```console % make testacc PKG=ivs TESTS="TestAccIVSChannel|TestAccIVSRecordingConfiguration|TestAccIVS_serial/PlaybackKeyPair/" make: Verifying source code with gofmt... ==> Checking that code complies with gofmt requirements... TF_ACC=1 go1.24.5 test ./internal/service/ivs/... -v -count 1 -parallel 20 -run='TestAccIVSChannel|TestAccIVSRecordingConfiguration|TestAccIVS_serial/PlaybackKeyPair/' -timeout 360m -vet=off 2025/08/06 14:57:32 Creating Terraform AWS Provider (SDKv2-style)... 2025/08/06 14:57:32 Initializing Terraform AWS Provider (SDKv2-style)... --- PASS: TestAccIVSChannel_disappears (30.74s) --- PASS: TestAccIVSChannel_basic (36.99s) --- PASS: TestAccIVSRecordingConfiguration_disappears (43.99s) --- PASS: TestAccIVSRecordingConfiguration_disappears_S3Bucket (44.98s) === RUN TestAccIVS_serial/PlaybackKeyPair/tags --- PASS: TestAccIVSChannel_recordingConfiguration (52.33s) --- PASS: TestAccIVSRecordingConfiguration_basic (52.52s) --- PASS: TestAccIVSChannel_Identity_Basic (55.28s) --- PASS: TestAccIVSChannel_update (55.33s) --- PASS: TestAccIVSChannel_Identity_RegionOverride (61.16s) --- PASS: TestAccIVSRecordingConfiguration_Identity_RegionOverride (63.90s) --- PASS: TestAccIVSChannel_tags (66.40s) --- PASS: TestAccIVSRecordingConfiguration_Identity_Basic (69.27s) --- PASS: TestAccIVSChannel_Identity_ExistingResource (69.83s) --- PASS: TestAccIVSRecordingConfiguration_update (74.72s) --- PASS: TestAccIVSRecordingConfiguration_Identity_ExistingResource (74.75s) --- PASS: TestAccIVSRecordingConfiguration_tags (84.18s) === RUN TestAccIVS_serial/PlaybackKeyPair/disappears === RUN TestAccIVS_serial/PlaybackKeyPair/identity === RUN TestAccIVS_serial/PlaybackKeyPair/identity/ExistingResource === RUN TestAccIVS_serial/PlaybackKeyPair/identity/RegionOverride === RUN TestAccIVS_serial/PlaybackKeyPair/identity/basic === RUN TestAccIVS_serial/PlaybackKeyPair/basic --- PASS: TestAccIVS_serial (205.39s) --- PASS: TestAccIVS_serial/PlaybackKeyPair (205.39s) --- PASS: TestAccIVS_serial/PlaybackKeyPair/update (45.14s) --- PASS: TestAccIVS_serial/PlaybackKeyPair/tags (43.46s) --- PASS: TestAccIVS_serial/PlaybackKeyPair/disappears (12.14s) --- PASS: TestAccIVS_serial/PlaybackKeyPair/identity (90.01s) --- PASS: TestAccIVS_serial/PlaybackKeyPair/identity/ExistingResource (41.90s) --- PASS: TestAccIVS_serial/PlaybackKeyPair/identity/RegionOverride (26.19s) --- PASS: TestAccIVS_serial/PlaybackKeyPair/identity/basic (21.92s) --- PASS: TestAccIVS_serial/PlaybackKeyPair/basic (14.65s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ivs 211.756s ```
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.8.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! |
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 resource identity to ARN-based resources in
ivs
. This includes:aws_ivs_channel
aws_ivs_playback_key_pair
aws_ivs_recording_configuration
Relations
Relates #42983
Relates #42984
Output from Acceptance Testing