-
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_organizations_account: Allow Import when IAM Billing is set #35662
r/aws_organizations_account: Allow Import when IAM Billing is set #35662
Conversation
Makes use of the latest framework to implement a backwards compatible import, that allows you to specify the state of aws_organizations_account. Addresses hashicorp#35661
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.
Welcome @Alex-Waring 👋
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 can this be reviewed by you or someone in the community? |
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/Account' PKG=organizations
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.2 test ./internal/service/organizations/... -v -count 1 -parallel 20 -run=TestAccOrganizations_serial/Account -timeout 360m
=== RUN TestAccOrganizations_serial
=== PAUSE TestAccOrganizations_serial
=== CONT TestAccOrganizations_serial
=== RUN TestAccOrganizations_serial/Account
=== RUN TestAccOrganizations_serial/Account/basic
account_test.go:41: Environment variable TEST_AWS_ORGANIZATION_ACCOUNT_EMAIL_DOMAIN is not set
=== RUN TestAccOrganizations_serial/Account/CloseOnDeletion
account_test.go:80: Environment variable TEST_AWS_ORGANIZATION_ACCOUNT_EMAIL_DOMAIN is not set
=== RUN TestAccOrganizations_serial/Account/ParentId
account_test.go:120: Environment variable TEST_AWS_ORGANIZATION_ACCOUNT_EMAIL_DOMAIN is not set
=== RUN TestAccOrganizations_serial/Account/Tags
account_test.go:161: Environment variable TEST_AWS_ORGANIZATION_ACCOUNT_EMAIL_DOMAIN is not set
=== RUN TestAccOrganizations_serial/Account/GovCloud
account_test.go:211: Environment variable TEST_AWS_ORGANIZATION_ACCOUNT_EMAIL_DOMAIN is not set
--- PASS: TestAccOrganizations_serial (0.00s)
--- PASS: TestAccOrganizations_serial/Account (0.00s)
--- SKIP: TestAccOrganizations_serial/Account/basic (0.00s)
--- SKIP: TestAccOrganizations_serial/Account/CloseOnDeletion (0.00s)
--- SKIP: TestAccOrganizations_serial/Account/ParentId (0.00s)
--- SKIP: TestAccOrganizations_serial/Account/Tags (0.00s)
--- SKIP: TestAccOrganizations_serial/Account/GovCloud (0.00s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/organizations 4.138s
@Alex-Waring Thanks for the contribution 🎉 👏. |
@Alex-Waring Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.50.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
Makes use of the latest framework to implement a backwards compatible import, that allows you to specify the state of aws_organizations_account.
Relations
Closes #35661.
Output from Acceptance Testing