crooked-kitchen-90092
03/22/2024, 2:51 PMpulumi.Any{}
incorrectly, as this throws an error: pulumi.Any (value of type func(v interface{}) pulumi.AnyOutput) is not a type.
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iam"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iam.NewRole(ctx, "awsiamRoleControlPlane", &iam.RoleArgs{
AssumeRolePolicyDocument: pulumi.Any{...}, // pulumi.Any{} is not a type
})
return err
})
}
is there a working version of the Go or IAM SDKs I can roll back to, or will I need to fix this by hand? I discovered this when running the output of cf2pulumi
, fwiw.echoing-dinner-19531
03/23/2024, 8:42 AMcrooked-kitchen-90092
03/25/2024, 2:10 PM