sparse-intern-71089
09/15/2023, 6:32 AMfull-eve-52536
09/15/2023, 1:46 PMClusterMaintenancePolicy
is an interface, so I think your usage in the above code is wrong. What you really want is:
interface ClusterConfig {
// properties
maintenancePolicy: {
dailyMaintenanceWindow: <insert object here>,
maintenanceExclusions: <insert object here>,
};
};
some-continent-7311
09/15/2023, 6:28 PMclever-sunset-76585
09/19/2023, 4:02 AMtypes/input
module of the respective cloud provider. Add a separate import for that and then you'd be able to reuse existing types.
For example, to use the types for resources under the container
module in the Google Native provider:
import {container} from "@pulumi/google-native/types/input";
some-continent-7311
09/19/2023, 5:05 AM