Skip to content

Commit

Permalink
adding test
Browse files Browse the repository at this point in the history
  • Loading branch information
abiju-czi committed Sep 19, 2022
1 parent 341cfe1 commit eb8258c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aws-assume-role-policy/module_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package test

import (
"fmt"
"testing"

"github.com/chanzuckerberg/go-misc/tftest"
Expand All @@ -24,6 +25,7 @@ func TestAWSAssumeRolePolicy(t *testing.T) {
tftest.IAMRegion,
map[string]interface{}{
"source_account_ids": []string{curAcct},
"source_role_arns": []string{fmt.Sprintf("arn:aws:iam::%s:role/okta-czi-admin", curAcct)},
"saml_idp_arns": []string{"samlARN1", "samlARN2"},
"oidc": oidcCfg,
},
Expand Down

0 comments on commit eb8258c

Please sign in to comment.