Skip to content

Commit

Permalink
log bucket and key names
Browse files Browse the repository at this point in the history
  • Loading branch information
toddvalentine-fc committed Jan 6, 2022
1 parent 349e855 commit abd2768
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions task/main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
package main

import "fmt"
import (
"fmt"
"os"
)

func main() {
fmt.Println("OK, I ran.")
fmt.Printf("Bucket Name: %s\n", os.Getenv("S3_BUCKET"))
fmt.Printf("Object Key: %s\n", os.Getenv("S3_KEY"))
}

0 comments on commit abd2768

Please sign in to comment.