Skip to content

Commit

Permalink
Update copy test
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasjackson committed Jun 24, 2024
1 parent badb39a commit d870faa
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions examples/copy/main.hcl
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
resource "copy" "local" {
source = "${dir()}/files/foo"
destination = "${data("copy")}/local"
source = "${dir()}/files/foo"
destination = "${data("copy")}/local/foo"
}

resource "copy" "local_relative" {
source = "./files/foo"
source = "./files/foo"
destination = "${data("copy")}/local_relative"
}


resource "copy" "http" {
source = "https://www.foundanimals.org/wp-content/uploads/2023/02/twenty20_b4e89a76-af70-4567-b92a-9c3bbf335cb3.jpg"
source = "https://www.foundanimals.org/wp-content/uploads/2023/02/twenty20_b4e89a76-af70-4567-b92a-9c3bbf335cb3.jpg"
destination = "${data("copy")}/http"
}

resource "copy" "git" {
source = "github.com/jumppad-labs/examples"
source = "github.com/jumppad-labs/examples"
destination = "${data("copy")}/git"
}

resource "copy" "zip" {
source = "https://releases.hashicorp.com/nomad/1.6.3/nomad_1.6.3_linux_amd64.zip"
source = "https://releases.hashicorp.com/nomad/1.6.3/nomad_1.6.3_linux_amd64.zip"
destination = "${data("copy")}/zip"
}

0 comments on commit d870faa

Please sign in to comment.