pulumi-aws
pulumi-aws copied to clipboard
AWS Certificate Validation: On-page example is not valid.
Problem description
- I saw a product documentation issue on the following URL: https://www.pulumi.com/registry/packages/aws/api-docs/acm/certificatevalidation/ The example has several errors that make it unusable:
- references
domainValidationOptions
property of a certificate which does not exist. The property isvalidationOptions
orvalidation_options
etc. - Even with the correct property name, the way the example is written throws this error:
TypeError: 'Output' object is not iterable, consider iterating the underlying value inside an 'apply'
- The loop (at least in Python) in the example doesn't work and throws unknown value errors.
This is likely part of a larger effort to handle translating TF examples automatically.
Affected product version(s)
Suggestions for a fix
I am having the same problem with the TypeScript example. The block of code in that example is complex, and non-functional when used. Trying to debug it is driving me crazy.
@duro The docs are definitely hit or miss.
Try looking at this example: https://github.com/pulumi/examples/blob/master/aws-apigateway-ts-routes/dns.ts