Does anyone know how to set backups for EFS? I've ...
# general
r
Does anyone know how to set backups for EFS? I've been through the pulumi docs and can't seem to find an option to do this.
b
Looks like it was only added to TF recently. Let me check
r
Thanks Piers.
b
Yes it's there in the latest version of the provider, but our docs haven't caught up it seems. In typescript:
Copy code
const fs = new aws.efs.FileSystem("fs");

const backup = new aws.efs.BackupPolicy("backup", {
    fileSystemId: fs.id,
    backupPolicy: {
        status: "ENABLED"
    }
});
r
Great, thanks for looking Piers.