pulumi-aws
pulumi-aws copied to clipboard
[aws/lb] stickiness.type comment is wrong
Describe what happened
const albTargetGroup = new aws.lb.TargetGroup(`blah`, {
stickiness: {
enabled: true,
type: "appCookie",
},
});
I got error that type is incorrect. The type source clearly states that it is CORRECT:
/**
* The type of sticky sessions. The only current possible values are `lbCookie`, `appCookie` for ALBs, `sourceIp` for NLBs, and `sourceIpDestIp`, `sourceIpDestIpProto` for GWLBs.
*/
type: pulumi.Input<string>;
It turns out the value follows snake_case instead of camelCase, that is app_cookie. Unsure why the documentation is not correct.
Sample program
N/A
Log output
N/A
Affected Resource(s)
No response
Output of pulumi about
I am using @pulumi/pulumi 3.113.3
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).