[Bug]: TestAccPinpointEmailChannel_basic
and TestAccPinpointEmailChannel_set
acceptance tests fail
#38772
Labels
bug
Addresses a defect in current functionality.
service/pinpoint
Issues and PRs that pertain to the pinpoint service.
tests
PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Terraform Core Version
v1.9.1
AWS Provider Version
v5.60.0
Affected Resource(s)
Expected Behavior
That both tests pass.
Actual Behavior
They both fail with similar erorrs that after running the plan
RoleARN
was missing.This is due to the
GetEmailChannel
call within the read action of this resource.The response body does not return
RoleARN
even though with the priorUpdateEmailChannel
action it is sent to the API.I filed a support case with AWS as the aws cli tooling also does not return the
RoleARN
value even though the documentation mentions it does.https://docs.aws.amazon.com/cli/latest/reference/pinpoint/get-email-channel.html
They reproduced this behaviour and are internally investigating this behaviour, this ticket is purely for visibility purposes as it was first discovered in the Pinpoint SDK migration here. #38750
I do see some documentation that this argument has been deprecated.
https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-email.html
Regardless I will keep this issue updated.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
See
TestAccPinpointEmailChannel_basic
andTestAccPinpointEmailChannel_set
Steps to Reproduce
Run
make testacc TESTARGS='-run=TestAcc' PKG=pinpoint
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered: