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

aws.sesv2.ConfigurationSet requires 'deliveryOptions.maxDeliverySeconds' #5045

Open
michaeldop opened this issue Jan 7, 2025 · 1 comment
Labels
awaiting-upstream The issue cannot be resolved without action in another repository (may be owned by Pulumi). kind/bug Some behavior is incorrect or out of spec service/sesv2 sesv2 issues

Comments

@michaeldop
Copy link
Contributor

Describe what happened

aws.sesv2.ConfigurationSet is requiring 'deliveryOptions.maxDeliverySeconds' to be set even though it seems like an optional field. I receive this error

    error:   sdk-v2/provider2.go:515: sdk.helper_schema: creating AWS SESv2 (Simple Email V2) Configuration Set (default): operation error SESv2: CreateConfigurationSet, https response error StatusCode: 400, RequestID: 05656185-e3f2-41f8-825f-137c248bf950, BadRequestException: 1 validation error detected: Value at 'deliveryOptions.maxDeliverySeconds' failed to satisfy constraint: Member must have value greater than or equal to 300: [email protected]

I am not sure if this is an upstream issue or not because I do see it flagged as an optional field here and in the AWS documentation it isn't a required field

Sample program

  import * as aws from '@pulumi/aws';

  const configurationSet = new aws.sesv2.ConfigurationSet('default-config-set', {
    configurationSetName: 'default',
    deliveryOptions: {
      tlsPolicy: 'REQUIRE',
    },
    reputationOptions: {
      reputationMetricsEnabled: true,
    },
    sendingOptions: {
      sendingEnabled: true,
    },
    suppressionOptions: {
      suppressedReasons: ['BOUNCE', 'COMPLAINT'],
    },
  });

Log output

No response

Affected Resource(s)

aws.sesv2.ConfigurationSet

Output of pulumi about

❯ pulumi about
CLI          
Version      3.145.0
Go Version   go1.23.4
Go Compiler  gc

Plugins
KIND      NAME    VERSION
resource  aws     6.66.2
language  nodejs  3.145.0-dev.0

Host     
OS       darwin
Version  15.2
Arch     x86_64

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@michaeldop michaeldop added kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team labels Jan 7, 2025
@t0yv0
Copy link
Member

t0yv0 commented Jan 8, 2025

Thanks for logging this @michaeldop

This behavior is inherited from the upstream provider, I have filed an issue in hashicorp/terraform-provider-aws#40836 - please feel free to upvote it. The best way for Pulumi provider to get the fix is having this fixed upstream and flow into the Pulumi provider automatically.

@t0yv0 t0yv0 added awaiting-upstream The issue cannot be resolved without action in another repository (may be owned by Pulumi). service/sesv2 sesv2 issues and removed needs-triage Needs attention from the triage team labels Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-upstream The issue cannot be resolved without action in another repository (may be owned by Pulumi). kind/bug Some behavior is incorrect or out of spec service/sesv2 sesv2 issues
Projects
None yet
Development

No branches or pull requests

2 participants