Skip to content
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

Pinpoint SMS sender ID not controlled by terraform #11853

Closed
eladazary opened this issue Feb 3, 2020 · 3 comments · Fixed by #18281
Closed

Pinpoint SMS sender ID not controlled by terraform #11853

eladazary opened this issue Feb 3, 2020 · 3 comments · Fixed by #18281
Labels
bug Addresses a defect in current functionality. service/pinpoint Issues and PRs that pertain to the pinpoint service. technical-debt Addresses areas of the codebase that need refactoring or redesign. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Milestone

Comments

@eladazary
Copy link

In order to configure the SMS sender ID in Pinpoint App I've created "aws_pinpoint_sms_channel" resource and set the sender_id param.
After the app was created it didn't changed the sender ID and set it as the AWS default value.

Please assist.

@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Feb 3, 2020
@DrFaust92 DrFaust92 added the service/pinpoint Issues and PRs that pertain to the pinpoint service. label May 21, 2020
@bflad bflad added bug Addresses a defect in current functionality. technical-debt Addresses areas of the codebase that need refactoring or redesign. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. and removed needs-triage Waiting for first response or review from a maintainer. labels Feb 2, 2021
@bflad bflad added this to the Roadmap milestone Feb 2, 2021
@bflad
Copy link
Contributor

bflad commented Feb 2, 2021

Looks like this is showing up in the resource acceptance testing here on update:

=== CONT  TestAccAWSPinpointSMSChannel_full
resource_aws_pinpoint_sms_channel_test.go:61: Step 3/3 error: Check failed: Check 2/6 error: aws_pinpoint_sms_channel.test_sms_channel: Attribute 'sender_id' expected "1234", got ""
--- FAIL: TestAccAWSPinpointSMSChannel_full (69.48s)

The code is only passing sender_id if it has a change on update:

if d.HasChange("sender_id") {
params.SenderId = aws.String(d.Get("sender_id").(string))
}

Which seems incorrect as evidenced by the test -- the UpdateSmsSettings API call does not have the parameter and immediately after the GetSmsSettings API call has the SenderId unexpectedly removed.

@ghost
Copy link

ghost commented Mar 26, 2021

This has been released in version 3.34.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 for triage. Thanks!

@ghost
Copy link

ghost commented Apr 18, 2021

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Apr 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/pinpoint Issues and PRs that pertain to the pinpoint service. technical-debt Addresses areas of the codebase that need refactoring or redesign. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants