-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
r/aws_iam_role: Remove role_last_used
attribute
#31656
Conversation
Community NoteVoting for Prioritization
For Submitters
|
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 🚀.
% make testacc TESTARGS='-run=TestAccIAMRole_' PKG=iam ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/iam/... -v -count 1 -parallel 2 -run=TestAccIAMRole_ -timeout 180m
=== RUN TestAccIAMRole_basic
=== PAUSE TestAccIAMRole_basic
=== RUN TestAccIAMRole_description
=== PAUSE TestAccIAMRole_description
=== RUN TestAccIAMRole_nameGenerated
=== PAUSE TestAccIAMRole_nameGenerated
=== RUN TestAccIAMRole_namePrefix
=== PAUSE TestAccIAMRole_namePrefix
=== RUN TestAccIAMRole_testNameChange
=== PAUSE TestAccIAMRole_testNameChange
=== RUN TestAccIAMRole_diffs
=== PAUSE TestAccIAMRole_diffs
=== RUN TestAccIAMRole_diffsCondition
=== PAUSE TestAccIAMRole_diffsCondition
=== RUN TestAccIAMRole_badJSON
=== PAUSE TestAccIAMRole_badJSON
=== RUN TestAccIAMRole_disappears
=== PAUSE TestAccIAMRole_disappears
=== RUN TestAccIAMRole_policiesForceDetach
=== PAUSE TestAccIAMRole_policiesForceDetach
=== RUN TestAccIAMRole_maxSessionDuration
=== PAUSE TestAccIAMRole_maxSessionDuration
=== RUN TestAccIAMRole_permissionsBoundary
=== PAUSE TestAccIAMRole_permissionsBoundary
=== RUN TestAccIAMRole_tags
=== PAUSE TestAccIAMRole_tags
=== RUN TestAccIAMRole_InlinePolicy_basic
=== PAUSE TestAccIAMRole_InlinePolicy_basic
=== RUN TestAccIAMRole_InlinePolicy_ignoreOrder
=== PAUSE TestAccIAMRole_InlinePolicy_ignoreOrder
=== RUN TestAccIAMRole_InlinePolicy_empty
=== PAUSE TestAccIAMRole_InlinePolicy_empty
=== RUN TestAccIAMRole_ManagedPolicy_basic
=== PAUSE TestAccIAMRole_ManagedPolicy_basic
=== RUN TestAccIAMRole_ManagedPolicy_outOfBandRemovalAddedBack
=== PAUSE TestAccIAMRole_ManagedPolicy_outOfBandRemovalAddedBack
=== RUN TestAccIAMRole_InlinePolicy_outOfBandRemovalAddedBack
=== PAUSE TestAccIAMRole_InlinePolicy_outOfBandRemovalAddedBack
=== RUN TestAccIAMRole_ManagedPolicy_outOfBandAdditionRemoved
=== PAUSE TestAccIAMRole_ManagedPolicy_outOfBandAdditionRemoved
=== RUN TestAccIAMRole_InlinePolicy_outOfBandAdditionRemoved
=== PAUSE TestAccIAMRole_InlinePolicy_outOfBandAdditionRemoved
=== RUN TestAccIAMRole_InlinePolicy_outOfBandAdditionIgnored
=== PAUSE TestAccIAMRole_InlinePolicy_outOfBandAdditionIgnored
=== RUN TestAccIAMRole_ManagedPolicy_outOfBandAdditionIgnored
=== PAUSE TestAccIAMRole_ManagedPolicy_outOfBandAdditionIgnored
=== RUN TestAccIAMRole_InlinePolicy_outOfBandAdditionRemovedEmpty
=== PAUSE TestAccIAMRole_InlinePolicy_outOfBandAdditionRemovedEmpty
=== RUN TestAccIAMRole_ManagedPolicy_outOfBandAdditionRemovedEmpty
=== PAUSE TestAccIAMRole_ManagedPolicy_outOfBandAdditionRemovedEmpty
=== CONT TestAccIAMRole_basic
=== CONT TestAccIAMRole_InlinePolicy_basic
--- PASS: TestAccIAMRole_basic (19.36s)
=== CONT TestAccIAMRole_badJSON
--- PASS: TestAccIAMRole_badJSON (2.59s)
=== CONT TestAccIAMRole_tags
--- PASS: TestAccIAMRole_InlinePolicy_basic (47.51s)
=== CONT TestAccIAMRole_permissionsBoundary
--- PASS: TestAccIAMRole_tags (32.28s)
=== CONT TestAccIAMRole_maxSessionDuration
--- PASS: TestAccIAMRole_maxSessionDuration (40.63s)
=== CONT TestAccIAMRole_policiesForceDetach
--- PASS: TestAccIAMRole_policiesForceDetach (21.51s)
=== CONT TestAccIAMRole_disappears
--- PASS: TestAccIAMRole_permissionsBoundary (76.26s)
=== CONT TestAccIAMRole_testNameChange
--- PASS: TestAccIAMRole_disappears (14.54s)
=== CONT TestAccIAMRole_diffsCondition
--- PASS: TestAccIAMRole_testNameChange (32.79s)
=== CONT TestAccIAMRole_diffs
--- PASS: TestAccIAMRole_diffsCondition (82.19s)
=== CONT TestAccIAMRole_ManagedPolicy_outOfBandAdditionRemoved
--- PASS: TestAccIAMRole_ManagedPolicy_outOfBandAdditionRemoved (31.99s)
=== CONT TestAccIAMRole_ManagedPolicy_outOfBandAdditionRemovedEmpty
--- PASS: TestAccIAMRole_ManagedPolicy_outOfBandAdditionRemovedEmpty (29.85s)
=== CONT TestAccIAMRole_InlinePolicy_outOfBandAdditionRemovedEmpty
--- PASS: TestAccIAMRole_InlinePolicy_outOfBandAdditionRemovedEmpty (31.79s)
=== CONT TestAccIAMRole_ManagedPolicy_outOfBandAdditionIgnored
--- PASS: TestAccIAMRole_ManagedPolicy_outOfBandAdditionIgnored (27.20s)
=== CONT TestAccIAMRole_InlinePolicy_outOfBandAdditionIgnored
--- PASS: TestAccIAMRole_InlinePolicy_outOfBandAdditionIgnored (39.77s)
=== CONT TestAccIAMRole_InlinePolicy_outOfBandAdditionRemoved
--- PASS: TestAccIAMRole_InlinePolicy_outOfBandAdditionRemoved (52.72s)
=== CONT TestAccIAMRole_InlinePolicy_outOfBandRemovalAddedBack
--- PASS: TestAccIAMRole_diffs (291.05s)
=== CONT TestAccIAMRole_nameGenerated
--- PASS: TestAccIAMRole_InlinePolicy_outOfBandRemovalAddedBack (32.83s)
=== CONT TestAccIAMRole_namePrefix
--- PASS: TestAccIAMRole_nameGenerated (21.93s)
=== CONT TestAccIAMRole_InlinePolicy_empty
--- PASS: TestAccIAMRole_namePrefix (22.90s)
=== CONT TestAccIAMRole_description
--- PASS: TestAccIAMRole_InlinePolicy_empty (19.67s)
=== CONT TestAccIAMRole_InlinePolicy_ignoreOrder
--- PASS: TestAccIAMRole_description (47.57s)
=== CONT TestAccIAMRole_ManagedPolicy_outOfBandRemovalAddedBack
--- PASS: TestAccIAMRole_InlinePolicy_ignoreOrder (42.60s)
=== CONT TestAccIAMRole_ManagedPolicy_basic
--- PASS: TestAccIAMRole_ManagedPolicy_outOfBandRemovalAddedBack (30.95s)
--- PASS: TestAccIAMRole_ManagedPolicy_basic (46.32s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/iam 583.404s
This functionality has been released in v5.1.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. |
Description
Removes the recently added read-only
role_last_used
attribute to address the concerns expressed in #30861. While technically a breaking change, we've opted to remove the attribute in a minor release rather than wait untilv6.0.0
(12-18 months from now). We are considering a breaking change acceptable in this context for the following reasons:v4.64.0
, from April 2023), read-only, and unlikely to be used as an input to any other resource.Relations
Closes #30861
Relates #30750
Output from Acceptance Testing