2024-05-02 11:32:54 +00:00
|
|
|
resource "ass" "asset-archive:index:AssetResource" {
|
|
|
|
value = fileAsset("../test.txt")
|
|
|
|
}
|
|
|
|
|
|
|
|
resource "arc" "asset-archive:index:ArchiveResource" {
|
|
|
|
value = fileArchive("../archive.tar")
|
2024-05-06 07:26:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
resource "dir" "asset-archive:index:ArchiveResource" {
|
|
|
|
value = fileArchive("../folder")
|
2024-06-24 14:23:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
resource "assarc" "asset-archive:index:ArchiveResource" {
|
|
|
|
value = assetArchive({
|
|
|
|
"string": stringAsset("file contents"),
|
|
|
|
"file": fileAsset("../test.txt"),
|
|
|
|
"folder": fileArchive("../folder"),
|
|
|
|
"archive": fileArchive("../archive.tar"),
|
|
|
|
})
|
2024-07-03 09:03:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
resource "remoteass" "asset-archive:index:AssetResource" {
|
|
|
|
value = remoteAsset("https://raw.githubusercontent.com/pulumi/pulumi/master/cmd/pulumi-test-language/testdata/l2-resource-asset-archive/test.txt")
|
|
|
|
}
|