-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Add org unit data source #33408
Add org unit data source #33408
Conversation
Community NoteVoting for Prioritization
For Submitters
|
% make testacc TESTARGS='-run=TestAccOrganizations_serial/OrganizationalUnit' PKG=organizations ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/organizations/... -v -count 1 -parallel 20 -run=TestAccOrganizations_serial/OrganizationalUnit -timeout 180m === RUN TestAccOrganizations_serial === PAUSE TestAccOrganizations_serial === CONT TestAccOrganizations_serial === RUN TestAccOrganizations_serial/OrganizationalUnit === RUN TestAccOrganizations_serial/OrganizationalUnit/ChildAccountsDataSource_basic === RUN TestAccOrganizations_serial/OrganizationalUnit/DescendantAccountsDataSource_basic === RUN TestAccOrganizations_serial/OrganizationalUnit/PluralDataSource_basic === RUN TestAccOrganizations_serial/OrganizationalUnit/basic === RUN TestAccOrganizations_serial/OrganizationalUnit/disappears === RUN TestAccOrganizations_serial/OrganizationalUnit/update === RUN TestAccOrganizations_serial/OrganizationalUnit/tags === RUN TestAccOrganizations_serial/OrganizationalUnit/DataSource_basic --- PASS: TestAccOrganizations_serial (253.25s) --- PASS: TestAccOrganizations_serial/OrganizationalUnit (253.25s) --- PASS: TestAccOrganizations_serial/OrganizationalUnit/ChildAccountsDataSource_basic (19.81s) --- PASS: TestAccOrganizations_serial/OrganizationalUnit/DescendantAccountsDataSource_basic (31.30s) --- PASS: TestAccOrganizations_serial/OrganizationalUnit/PluralDataSource_basic (23.93s) --- PASS: TestAccOrganizations_serial/OrganizationalUnit/basic (27.58s) --- PASS: TestAccOrganizations_serial/OrganizationalUnit/disappears (21.07s) --- PASS: TestAccOrganizations_serial/OrganizationalUnit/update (43.95s) --- PASS: TestAccOrganizations_serial/OrganizationalUnit/tags (61.44s) --- PASS: TestAccOrganizations_serial/OrganizationalUnit/DataSource_basic (24.17s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/organizations 258.977s
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=TestAccOrganizations_serial/OrganizationalUnit' PKG=organizations
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/organizations/... -v -count 1 -parallel 20 -run=TestAccOrganizations_serial/OrganizationalUnit -timeout 180m
=== RUN TestAccOrganizations_serial
=== PAUSE TestAccOrganizations_serial
=== CONT TestAccOrganizations_serial
=== RUN TestAccOrganizations_serial/OrganizationalUnit
=== RUN TestAccOrganizations_serial/OrganizationalUnit/ChildAccountsDataSource_basic
=== RUN TestAccOrganizations_serial/OrganizationalUnit/DescendantAccountsDataSource_basic
=== RUN TestAccOrganizations_serial/OrganizationalUnit/PluralDataSource_basic
=== RUN TestAccOrganizations_serial/OrganizationalUnit/basic
=== RUN TestAccOrganizations_serial/OrganizationalUnit/disappears
=== RUN TestAccOrganizations_serial/OrganizationalUnit/update
=== RUN TestAccOrganizations_serial/OrganizationalUnit/tags
=== RUN TestAccOrganizations_serial/OrganizationalUnit/DataSource_basic
--- PASS: TestAccOrganizations_serial (253.25s)
--- PASS: TestAccOrganizations_serial/OrganizationalUnit (253.25s)
--- PASS: TestAccOrganizations_serial/OrganizationalUnit/ChildAccountsDataSource_basic (19.81s)
--- PASS: TestAccOrganizations_serial/OrganizationalUnit/DescendantAccountsDataSource_basic (31.30s)
--- PASS: TestAccOrganizations_serial/OrganizationalUnit/PluralDataSource_basic (23.93s)
--- PASS: TestAccOrganizations_serial/OrganizationalUnit/basic (27.58s)
--- PASS: TestAccOrganizations_serial/OrganizationalUnit/disappears (21.07s)
--- PASS: TestAccOrganizations_serial/OrganizationalUnit/update (43.95s)
--- PASS: TestAccOrganizations_serial/OrganizationalUnit/tags (61.44s)
--- PASS: TestAccOrganizations_serial/OrganizationalUnit/DataSource_basic (24.17s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/organizations 258.977s
@danquack Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.18.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
Adds an
organizational_unit
data lookup for a single entity.Relations
Closes #22909
References
Output from Acceptance Testing