diff options
-rw-r--r-- | jinwei.me/infra/s3.tf | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/jinwei.me/infra/s3.tf b/jinwei.me/infra/s3.tf index 6c39e4c..a47b7b1 100644 --- a/jinwei.me/infra/s3.tf +++ b/jinwei.me/infra/s3.tf | |||
@@ -52,3 +52,10 @@ resource "aws_s3_object" "check" { | |||
52 | content = "OK" | 52 | content = "OK" |
53 | content_type = "text/plain" | 53 | content_type = "text/plain" |
54 | } | 54 | } |
55 | |||
56 | resource "aws_s3_object" "ping" { | ||
57 | bucket = aws_s3_bucket.static.id | ||
58 | key = "ping" | ||
59 | content = "pong" | ||
60 | content_type = "text/plain" | ||
61 | } | ||