-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
21a68a5
commit 0d11282
Showing
4 changed files
with
40 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
examples/resources/epilot-file_file-import/generated_resources.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# __generated__ by Terraform | ||
# Please review these resources and move them into your main configuration files. | ||
|
||
# __generated__ by Terraform from "91b9fd89-05ac-464d-8ac5-1379824471ac" | ||
resource "epilot-file_file" "my_file" { | ||
access_control = "private" | ||
custom_download_url = null | ||
filename = "8z87al.jpg" | ||
mime_type = "image/jpeg" | ||
s3ref = { | ||
bucket = "epilot-dev-user-content" | ||
key = "739224/69f04890-fa8d-4d2e-9347-4ac384da107b/8z87al.jpg" | ||
} | ||
source_url = "https://file.dev.sls.epilot.io/v1/files/public/links/739224-taqDBUyNjSX7c_n2v6Zvv/8z87al.jpg" | ||
tags = null | ||
title = "8z87al.jpg" | ||
type = "image" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
resource "epilot-file_file" "my_file" { | ||
id = "ef7d985c-2385-44f4-9c71-ae06a52264f8" | ||
title = "document.pdf" | ||
access_control = "private" | ||
custom_download_url = "https://some-api-url.com/download?file_id=123" | ||
filename = "document.pdf" | ||
mime_type = "application/pdf" | ||
access_control = "private" | ||
source_url = "https://productengineer-content.s3.eu-west-1.amazonaws.com/product-engineer-checklist.pdf" | ||
type = "unknown" | ||
} | ||
} |