github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/functions-pp/functions.pp (about)

     1  encoded = toBase64("haha business")
     2  
     3  decoded = fromBase64(encoded)
     4  
     5  joined = join("-", [encoded, decoded, "2"])
     6  
     7  resource bucket "aws:s3:Bucket" {
     8  
     9  }
    10  
    11  encoded2 = toBase64(bucket.id)
    12  
    13  decoded2 = fromBase64(bucket.id)