cuddly-magician-97620
07/27/2022, 2:07 PMconst redshiftCluster = new aws.redshift.Cluster(`redshift-cluster-${stack}`, {
clusterSubnetGroupName: redshiftSubnetGroup.id,
clusterIdentifier: `redshift-cluster-${stack}`,
clusterType: "multi-node",
numberOfNodes: Number(redshiftConfig.require("number-of-nodes")),
encrypted: true,
logging: {
enable: true,
},
publiclyAccessible: false,
enhancedVpcRouting: true,
databaseName: redshiftConfig.require("database-name"),
masterPassword: redshiftConfig.require("master-password"),
masterUsername: redshiftConfig.require("master-username"),
nodeType: redshiftConfig.require("node-type"),
skipFinalSnapshot: true,
tags: {
Pulumi: "True",
env: stack,
},
});
the logging
block is giving me a hard time. AWS recommends Cloudwatch, and Pulumi docs say I should be able to use it. But Pulumi does not like this:
logging: {
enable: true,
logDestinationType: "cloudwatch",
},
Pulumi v3.34.1
pulumi/aws 4.29.0
What am I doing wrong? Could it be that my aws provider is too old?No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by