This message was deleted.
# aws
s
This message was deleted.
b
can you share the provider code as well?
p
@billowy-army-68599 yes thank you, here it is
Copy code
import * as aws from '@pulumi/aws';
import * as pulumi from '@pulumi/pulumi';

const awsCfg = new pulumi.Config('aws');

const usEast1AwsProvider = new aws.Provider(`us-east-1-aws-provider`, {
  assumeRole: awsCfg.requireObject('assumeRole'),
  region: 'us-east-1',
});

export default usEast1AwsProvider;
m
I notice that it says
“@pulumi/pulumi”: “~3.53.1",
but the stack trace says
/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.48.0
That doesn’t seem quite right. Maybe there’s a mismatch?
p
I found out the issue. its not directly related to pulumi but to an external module that needed an Object and not an Output<Object>. Using
apply()
to await the needed object helped me solve the issue. thank you
🎉 1
m
Glad you found it. Nevertheless, it shouldn’t manifest as a panic. If you’d be able to file an issue with repro steps on https://github.com/pulumi/pulumi, we’d be grateful.