Skip to content

Commit

Permalink
Merge pull request #919 from pavangudiwada/fix/918-aws-iam-identity-p…
Browse files Browse the repository at this point in the history
…rovider-url

Fix/918 Updated IAM Identity Provider console URL
  • Loading branch information
mlabouardy committed Aug 23, 2023
2 parents a2ef238 + 75fb46d commit db8fb78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion providers/aws/iam/oidcproviders.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package iam
import (
"context"
"fmt"
"net/url"
"time"

log "github.com/sirupsen/logrus"
Expand Down Expand Up @@ -49,7 +50,7 @@ func OIDCProviders(ctx context.Context, client ProviderClient) ([]Resource, erro
Tags: tags,
CreatedAt: *outputProvider.CreateDate,
FetchedAt: time.Now(),
Link: fmt.Sprintf("https://%s.console.aws.amazon.com/iamv2/home?region=%s#/identity_providers/details/%s", client.AWSClient.Region, client.AWSClient.Region, *oidcprovider.Arn),
Link: fmt.Sprintf("https://%s.console.aws.amazon.com/iamv2/home?region=%s#/identity_providers/details/OPENID/%s", client.AWSClient.Region, client.AWSClient.Region, url.QueryEscape(*oidcprovider.Arn)),
})
}

Expand Down

0 comments on commit db8fb78

Please sign in to comment.