Skip to content

Commit

Permalink
Merge pull request #1892 from openshift/revert-1786-OCM-6119
Browse files Browse the repository at this point in the history
Revert "OCM-6119 | fix: block users from passing region flag when creating an oidc provider"
  • Loading branch information
openshift-merge-bot[bot] authored and gdbranco committed Apr 1, 2024
1 parent 5766cad commit 242856b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cmd/create/oidcprovider/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,6 @@ func run(cmd *cobra.Command, argv []string) {
r := rosa.NewRuntime().WithAWS().WithOCM()
defer r.Cleanup()

if cmd.Flags().Changed("region") {
r.Reporter.Errorf("The '--region' flag is not available when creating the OIDC provider. " +
"OIDC provider is a global AWS IAM entity.")
os.Exit(1)
}

// Allow the command to be called programmatically
isProgmaticallyCalled := false
shouldUseClusterKey := true
Expand Down

0 comments on commit 242856b

Please sign in to comment.