https://pulumi.com logo
#general
Title
# general
m

miniature-piano-36287

03/11/2022, 3:09 PM
Hello, anyone knows a good way to implement this?
Copy code
import * as aws from '@pulumi/aws'
import * as pulumi from '@pulumi/pulumi'

const failuresBackupBucketName = pulumi.output(
    aws.ssm.getParameter({ name: "/s3/bucket/failuresBackup" })
)

export const failuresBackupBucket = aws.s3.getBucket({
    bucket: failuresBackupBucketName.value
})