hey, anyone know why this policy <https://kopy.io/...
# general
hey, anyone know why this policy https://kopy.io/zKB0K#0fwwupWqyltsMo generates this error ?:
Copy code
Error: Program run without the Pulumi engine available; re-run using the `pulumi` CLI
seems doing
await aws.ec2.getSubnet({ id: '123' });
function is enough to generate the error
ah, you need to initialize the ec2 sdk before you can use those methods.
Copy code
const ec2 = new aws.sdk.EC2({ region: aws.config.region });