diff --git a/deployments/pulumi/pkg/storage/component_rds.go b/deployments/pulumi/pkg/storage/component_rds.go index d154678695..24de6326ae 100644 --- a/deployments/pulumi/pkg/storage/component_rds.go +++ b/deployments/pulumi/pkg/storage/component_rds.go @@ -10,8 +10,8 @@ import ( ) type RDSComponentArgs struct { - CreateCluster *RDSClusterCreateArgs - Database pulumix.Input[string] + CreateCluster *RDSClusterCreateArgs + Database pulumix.Input[string] } type RDSDatabaseComponent struct { @@ -131,6 +131,8 @@ func newRDSDatabaseComponent(ctx *pulumi.Context, args *RDSComponentArgs, opts . return nil, fmt.Errorf("creating RDS instance: %w", err) } + ctx.Export("rds-cluster-id", cmp.Cluster.ID()) + if err := ctx.RegisterResourceOutputs(cmp, pulumi.Map{}); err != nil { return nil, fmt.Errorf("registering outputs: %w", err) }