Skip to content

Commit

Permalink
aws - tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
dacbd committed May 3, 2022
1 parent 0dbcb00 commit 1df59d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion task/aws/resources/data_source_permission_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"fmt"
"strings"

"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/ec2/types"
"github.com/aws/aws-sdk-go-v2/service/iam"

Expand Down Expand Up @@ -33,7 +34,7 @@ func (ps *PermissionSet) Read(ctx context.Context) error {
}
if strings.HasPrefix(nameOrArn, "arn:") {
ps.Resource = &types.LaunchTemplateIamInstanceProfileSpecificationRequest{
Arn: &nameOrArn,
Arn: aws.String(nameOrArn),
}
return nil
}
Expand Down

0 comments on commit 1df59d5

Please sign in to comment.