AnalyticsApplicationOutput does not implement pulumi.Output (missing Apply method)
See original GitHub issueHello all. I’m receiving an error when creating a stream with the Kinesis library. This happened around the v2.18.2
SDK release (it was working prior) when running pulumi up
or go get
:
github.com/pulumi/pulumi-aws/sdk/v3/go/aws/kinesis
../../go/pkg/mod/github.com/pulumi/pulumi-aws/sdk/v3@v3.25.0/go/aws/kinesis/analyticsApplication.go:274:43: impossible type assertion:
AnalyticsApplicationOutput does not implement pulumi.Output (missing Apply method)
../../go/pkg/mod/github.com/pulumi/pulumi-aws/sdk/v3@v3.25.0/go/aws/kinesis/pulumiTypes.go:2204:6: AnalyticsApplicationOutput redeclared in this block
previous declaration at ../../go/pkg/mod/github.com/pulumi/pulumi-aws/sdk/v3@v3.25.0/go/aws/kinesis/analyticsApplication.go:356:6
and here’s the stream code:
stream, err := kinesis.NewStream(ctx, "aws.chat.cmd.rooms.0", &kinesis.StreamArgs{
RetentionPeriod: pulumi.Int(24),
ShardCount: pulumi.Int(1),
ShardLevelMetrics: pulumi.StringArray{
pulumi.String("IncomingBytes"),
pulumi.String("OutgoingBytes"),
},
Tags: pulumi.StringMap{
"Environment": pulumi.String("staging"),
},
})
if err != nil {
return err
}
I’ve tried downgrading to 2.18.0
, but I received the same error. I’ve and tried go clean --modcache && go get
to no avail. Any ideas?
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (8 by maintainers)
Top Results From Across the Web
Intro to Pulumi: Inputs and Outputs
During some program executions, apply doesn't run. For example, it won't run during a preview, when resource output values may be unknown.
Read more >[go/codegen] Reconsider golang name collision detection ...
AnalyticsApplicationOutput does not implement pulumi.Output (missing Apply method) pulumi/pulumi-aws#1321.
Read more >How to use Pulumi Output<string> as a string in .NET
All is used to convert to Output<string[]> and .Apply is used to transform the array. You can learn more in Inputs and Outputs....
Read more >Understanding Pulumi's apply | lbr. - Lee Briggs
This created a learning curve for me when trying out Pulumi, ... How do I get the value of this Output and use...
Read more >@pulumi/cdk - npm
The Pulumi CDK Adapter is a library that enables Pulumi programs to use AWS CDK constructs. The adapter allows writing AWS CDK code...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This will be fixed in 3.26.0.
Apologies - looks like the change didn’t make it through to the SDK in 3.26.x. Its staged here https://github.com/pulumi/pulumi-aws/pull/1335 and should be available for the next release.