-
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
[WIP] - Allow suppressed_reasons
to be an empty list in order to overwrite the default suppressed reasons
#28670
Conversation
…the account default surpressions
Community NoteVoting for Prioritization
For Submitters
|
I made some attempts to try and allow empty lists for the For some reason, the value from From testing against my AWS account, just removing |
suppressed_reasons
to be an empty list in order to overwrite the default suppressed reasonssuppressed_reasons
to be an empty list in order to overwrite the default suppressed reasons
I've put out the draft and will follow up this week @F21, thanks for the detailed input. |
Thanks for looking at this @bschaatsbergen! I spent most of yesterday looking at this and it was driving me mad, glad to have a second pair of eyes looking at this. |
I think the problem is because |
Any suggestions on the above @ewbankkit ? |
Try changing terraform-provider-aws/internal/service/sesv2/configuration_set.go Lines 569 to 581 in 5fd8df3
func expandSuppressionOptions(tfMap map[string]interface{}) *types.SuppressionOptions {
if tfMap == nil {
return nil
}
a := &types.SuppressionOptions{}
if v, ok := tfMap["suppressed_reasons"].([]interface{}); ok {
if len(v) > 0 {
a.SuppressedReasons = expandSuppressedReasons(v)
} else {
a.SuppressedReasons = []types.SuppressionListReason
}
}
return a
} |
@ewbankkit - I have the feeling that the SDK checks whether
|
Hi @F21, I haven't looked at this PR in a while. Have you made any progress on your side with this? |
@bschaatsbergen My PR #29671 fixes the issue, but I am still waiting for it to be reviewed. |
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. |
Closes #28669
Description
Relations
Closes #0000
References
Output from Acceptance Testing