Skip to content

Commit

Permalink
chore: fix cloudfront e2e again (#4370)
Browse files Browse the repository at this point in the history
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.
  • Loading branch information
iamhopaul123 authored Jan 14, 2023
1 parent 5249136 commit ba44a7e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion e2e/cloudfront/cloudfront_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ var _ = BeforeSuite(func() {
err = os.Setenv("DOMAINNAME", domainName)
Expect(err).NotTo(HaveOccurred())
staticPath = "static/index.html"
sess, err := session.NewSession()
sess, err := session.NewSessionWithOptions(session.Options{
SharedConfigState: session.SharedConfigEnable,
})
Expect(err).NotTo(HaveOccurred())
s3Client = s3.New(sess)
s3Manager = s3manager.NewUploader(sess)
Expand Down

0 comments on commit ba44a7e

Please sign in to comment.