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

Python subnet example doesn't make sense

Open cnunciato opened this issue 2 years ago • 1 comments

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

Filing on behalf of a community user. This example passes aws_vpc["main"]["id"] as the reference for vpc_id, but that doesn't make sense here, as there is no aws_vpc defined in the program, and if there were, the reference would be aws_vpc.id and not this notation. Other languages seem to have the same problem.

cnunciato avatar Jan 25 '23 22:01 cnunciato

Currently saying main_aws_vpc["id"] which still is off. I think we're failing to guess the type of the dangling variable here.

t0yv0 avatar Apr 03 '24 13:04 t0yv0