pulumi-aws icon indicating copy to clipboard operation
pulumi-aws copied to clipboard

AWS-EC2-Fleet: FleetOnDemandOptions has wrong allocation_strategy values.

Open limasilet opened this issue 3 years ago • 1 comments

File: themes/default/content/registry/packages/aws/api-docs/ec2/fleet/_index.md

FleetOnDemandOptions is providing information on Spot Fleet allocation_strategy options, not On Demand Fleet allocation_strategy options.

I tried using one of the values that are Spot Fleet specific, based on Pulumi docs, and the preview correctly failed:

'fleet' has a problem: expected on_demand_options.0.allocation_strategy to be one of [prioritized lowestPrice], got capacity-optimized. Examine values at 'Fleet.OnDemandOptions.AllocationStrategy'.

AWS doc matches pulumi preview failure https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-on-demand-backup.html

limasilet avatar Sep 26 '22 22:09 limasilet

This is a result of https://github.com/pulumi/pulumi-terraform-bridge/issues/529

viveklak avatar Oct 03 '22 17:10 viveklak

Going to close this out as a duplicate of https://github.com/pulumi/pulumi-terraform-bridge/issues/529 to track the required work centrally.

lukehoban avatar Dec 28 '22 00:12 lukehoban