We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39d026b commit 12db064Copy full SHA for 12db064
coderd/database/awsrdsiam/driver_test.go
@@ -5,7 +5,6 @@ import (
5
"os"
6
"testing"
7
8
- "github.com/aws/aws-sdk-go-v2/config"
9
"github.com/stretchr/testify/require"
10
11
"cdr.dev/slog/sloggers/slogtest"
@@ -17,10 +16,10 @@ import (
17
16
18
func TestDriver(t *testing.T) {
19
t.Parallel()
20
- cfg, err := config.LoadDefaultConfig(context.Background())
21
- require.NoError(t, err)
22
- t.Logf("%#v", cfg)
23
// Be sure to set AWS_DEFAULT_REGION to the database region as well.
+ // Example:
+ // export AWS_DEFAULT_REGION=us-east-2;
+ // export DBAWSIAMRDS_TEST_URL="postgres://user@host:5432/dbname";
24
url := os.Getenv("DBAWSIAMRDS_TEST_URL")
25
if url == "" {
26
t.Skip()
0 commit comments