stocky-spring-2734102/17/2022, 6:17 AM
echoing-dinner-1953102/17/2022, 9:40 AM
brainy-church-7812002/17/2022, 10:07 AM
stocky-spring-2734102/17/2022, 12:28 PM
NOTE: Stickiness is disabled on my listener rule. I saw a similar validation error when I tried to import my existing listener rule, I had to manually enable stickiness to be able to successfully import it.
Diagnostics: pulumi:pulumi:Stack (xxxx): error: update failed aws:alb:ListenerRule (xxxx-listener-rule): error: 1 error occurred: * updating urn:pulumi:staging::ecs::aws:alb/listenerRule:ListenerRule::xxxxx-listener-rule: 1 error occurred: * Error modifying LB Listener Rule: ValidationError: Target group stickiness duration must be between 1 and 604800 seconds status code: 400, request id: c07e03d7-7cc1-4c0f-8d7a-6a7716bab38f
to any number > 1. This is on
field is not set (default is
echoing-dinner-1953102/17/2022, 12:33 PM
importThere's a number of known issues with import right now, I suspect you probably got hit by one of those.
stocky-spring-2734102/17/2022, 12:34 PM
As per the definition, I see
stickiness=aws.alb.ListenerDefaultActionForwardStickinessArgs( TypeError: __init__() missing 1 required keyword-only argument: 'duration' error: an unhandled error occurred: Program exited with non-zero exit code: 1
echoing-dinner-1953102/17/2022, 12:50 PM
As per the definition, I seeNot sure what definition your looking at but the AWS schema says this is required. The stickiness object itself is optional. Did you write the code to set stickiness or was that bit generated by the import codegen?is an
stocky-spring-2734102/17/2022, 1:03 PM