-
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
r/aws_connect_phone_number #26364
r/aws_connect_phone_number #26364
Conversation
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.
Thanks for the PR! I think this is a great first pass, but there are some levels of control that are being restricted from the Terraform operator.
I believe the core thing to allow would be the option to provide a full phone_number
per the ClaimPhoneNumber API.
More than happy to contribute to this with access provided to your branch.
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.
Discussed offline with @GlennChia about proceeding with this functionality for now. Will create another fast-follow issue to allow support for direct phone_number
supplying.
Will also need to create two data sources which also depend on this PR. Will link issues as pending from this PR as well!
Thanks for the awesome discussion!
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.
Quick linter fix suggestion
Co-authored-by: Schuyler Jager <[email protected]>
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=TestAccConnect_serial/PhoneNumber' PKG=connect
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/connect/... -v -count 1 -parallel 20 -run=TestAccConnect_serial/PhoneNumber -timeout 180m
=== RUN TestAccConnect_serial
=== RUN TestAccConnect_serial/PhoneNumber
=== RUN TestAccConnect_serial/PhoneNumber/tags
=== RUN TestAccConnect_serial/PhoneNumber/description
=== RUN TestAccConnect_serial/PhoneNumber/prefix
=== RUN TestAccConnect_serial/PhoneNumber/targetARN
=== RUN TestAccConnect_serial/PhoneNumber/basic
=== RUN TestAccConnect_serial/PhoneNumber/disappears
--- PASS: TestAccConnect_serial (744.97s)
--- PASS: TestAccConnect_serial/PhoneNumber (744.97s)
--- PASS: TestAccConnect_serial/PhoneNumber/tags (238.51s)
--- PASS: TestAccConnect_serial/PhoneNumber/description (101.66s)
--- PASS: TestAccConnect_serial/PhoneNumber/prefix (101.36s)
--- PASS: TestAccConnect_serial/PhoneNumber/targetARN (124.27s)
--- PASS: TestAccConnect_serial/PhoneNumber/basic (91.41s)
--- PASS: TestAccConnect_serial/PhoneNumber/disappears (87.76s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/connect 749.183s
@GlennChia Thanks for the contribution 🎉 👏. |
This functionality has been released in v4.38.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. |
Community Note
Relates #26015
Output from acceptance testing: