Open DanielRieske opened 3 months ago
Voting for Prioritization
Volunteering to Work on This Issue
I heard back from the internal team and this argument has indeed been deprecated. RoleARN
is no longer needed and is set internally without having to explicitly configure it. They will update the documentation on their website and this will in time reflect in the SDK.
I will create a PR to remove this argument, which will introduce a breaking chance which in turn we should tag for a future v6.0.0
release.
As the test fails have been solved in the other PR I would actually prefer it if we can tag this issue for the v6.0.0
milestone.
I can make a PR but I have no idea when the actual release is and it would severly drift with main.
The actual change is so small that I don't think a PR is needed at this point and we already tagged it as deprecated in the documentation.
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 returnRoleARN
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. https://github.com/hashicorp/terraform-provider-aws/pull/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