Skip to content

f/aws_sqs_queue_policy: Add list support#47489

Merged
subham-ibmhc merged 2 commits into
mainfrom
f-list-sqs-queue-policy
Apr 16, 2026
Merged

f/aws_sqs_queue_policy: Add list support#47489
subham-ibmhc merged 2 commits into
mainfrom
f-list-sqs-queue-policy

Conversation

@subham-ibmhc
Copy link
Copy Markdown
Contributor

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

Adds list support for aws_sqs_queue_policy resource.

Relations

Closes #47224

Output from Acceptance Testing

% make t T=TestAccSQSQueuePolicy_List_ K=sqs
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
make: Running acceptance tests on branch: 🌿 f-list-sqs-queue-policy 🌿...
TF_ACC=1 go1.25.9 test ./internal/service/sqs/... -v -count 1 -parallel 20 -run='TestAccSQSQueuePolicy_List_'  -timeout 360m -vet=off
2026/04/16 16:31:26 Creating Terraform AWS Provider (SDKv2-style)...
2026/04/16 16:31:26 Initializing Terraform AWS Provider (SDKv2-style)...
=== RUN   TestAccSQSQueuePolicy_List_basic
=== PAUSE TestAccSQSQueuePolicy_List_basic
=== RUN   TestAccSQSQueuePolicy_List_includeResource
=== PAUSE TestAccSQSQueuePolicy_List_includeResource
=== RUN   TestAccSQSQueuePolicy_List_regionOverride
=== PAUSE TestAccSQSQueuePolicy_List_regionOverride
=== CONT  TestAccSQSQueuePolicy_List_basic
=== CONT  TestAccSQSQueuePolicy_List_regionOverride
=== CONT  TestAccSQSQueuePolicy_List_includeResource
--- PASS: TestAccSQSQueuePolicy_List_includeResource (240.85s)
--- PASS: TestAccSQSQueuePolicy_List_basic (302.05s)
--- PASS: TestAccSQSQueuePolicy_List_regionOverride (306.36s)
PASS
ok      github.com/hashicorp/terraform-provider-aws/internal/service/sqs        311.614s

```console
% make t T=TestAccSQSQueuePolicy_List_ K=sqs
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
make: Running acceptance tests on branch: 🌿 f-list-sqs-queue-policy 🌿...
TF_ACC=1 go1.25.9 test ./internal/service/sqs/... -v -count 1 -parallel 20 -run='TestAccSQSQueuePolicy_List_'  -timeout 360m -vet=off
2026/04/16 16:31:26 Creating Terraform AWS Provider (SDKv2-style)...
2026/04/16 16:31:26 Initializing Terraform AWS Provider (SDKv2-style)...
=== RUN   TestAccSQSQueuePolicy_List_basic
=== PAUSE TestAccSQSQueuePolicy_List_basic
=== RUN   TestAccSQSQueuePolicy_List_includeResource
=== PAUSE TestAccSQSQueuePolicy_List_includeResource
=== RUN   TestAccSQSQueuePolicy_List_regionOverride
=== PAUSE TestAccSQSQueuePolicy_List_regionOverride
=== CONT  TestAccSQSQueuePolicy_List_basic
=== CONT  TestAccSQSQueuePolicy_List_regionOverride
=== CONT  TestAccSQSQueuePolicy_List_includeResource
--- PASS: TestAccSQSQueuePolicy_List_includeResource (240.85s)
--- PASS: TestAccSQSQueuePolicy_List_basic (302.05s)
--- PASS: TestAccSQSQueuePolicy_List_regionOverride (306.36s)
PASS
ok      github.com/hashicorp/terraform-provider-aws/internal/service/sqs        311.614s
```
@subham-ibmhc subham-ibmhc marked this pull request as ready for review April 16, 2026 11:12
@subham-ibmhc subham-ibmhc requested a review from a team as a code owner April 16, 2026 11:12
@github-actions
Copy link
Copy Markdown
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 the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Apr 16, 2026
@dosubot dosubot Bot added the new-list-resource Introduces list resource support. label Apr 16, 2026
@github-actions github-actions Bot added documentation Introduces or discusses updates to documentation. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. service/sqs Issues and PRs that pertain to the sqs service. generators Relates to code generators. size/XL Managed by automation to categorize the size of a PR. labels Apr 16, 2026
@subham-ibmhc subham-ibmhc added the rnd-ind-provider rnd-ind-provider label Apr 16, 2026
Copy link
Copy Markdown
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 🚀.

@subham-ibmhc subham-ibmhc merged commit da218cb into main Apr 16, 2026
75 checks passed
@subham-ibmhc subham-ibmhc deleted the f-list-sqs-queue-policy branch April 16, 2026 12:36
@github-actions
Copy link
Copy Markdown
Contributor

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.42.0 milestone Apr 16, 2026
terraform-aws-provider Bot pushed a commit that referenced this pull request Apr 16, 2026
@github-actions github-actions Bot removed the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Apr 23, 2026
@github-actions
Copy link
Copy Markdown
Contributor

This functionality has been released in v6.42.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
Copy Markdown
Contributor

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 May 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

documentation Introduces or discusses updates to documentation. generators Relates to code generators. new-list-resource Introduces list resource support. rnd-ind-provider rnd-ind-provider service/sqs Issues and PRs that pertain to the sqs service. size/XL 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.

List: aws_sqs_queue_policy

2 participants