brash-salesclerk-15704
11/08/2023, 6:48 AM_, err = do.NewFirewall(ctx, "databaseFirewall", &do.FirewallArgs{
DropletIds: pulumi.IntArray{
dataBaseServer.ID(),
},
InboundRules: do.FirewallInboundRuleArray{},
OutboundRules: do.FirewallOutboundRuleArray{},
})
I get the following error:
Cannot use 'dataBaseServer.ID()' (type IDOutput) as the type IntInputType does not implement 'IntInput' as some methods are missing:ToIntOutput() IntOutputToIntOutputWithContext(ctx context.Context) IntOutputToIntPtrOutput() IntPtrOutput…
What am I missing? 😄nice-guitar-7761
11/08/2023, 3:04 PMdataBaseServer.ID().ApplyT(strconv.Atoi).(pulumi.IntOutput)
brash-salesclerk-15704
11/09/2023, 6:32 AM