diff --git a/pkg/cloud/aws/commands/run_test.go b/pkg/cloud/aws/commands/run_test.go index 738be63ecd..1d4899c371 100644 --- a/pkg/cloud/aws/commands/run_test.go +++ b/pkg/cloud/aws/commands/run_test.go @@ -345,6 +345,7 @@ func Test_Run(t *testing.T) { PolicyNamespaces: []string{ "user", }, + SkipPolicyUpdate: true, }, }, regoPolicy: `# METADATA @@ -673,6 +674,7 @@ deny[res] { Format: "table", ReportFormat: "summary", }, + RegoOptions: flag.RegoOptions{SkipPolicyUpdate: true}, }, cacheContent: exampleS3Cache, want: `