From 1df59d5c1976cada9a7f7f2fc5fb32777ce979ee Mon Sep 17 00:00:00 2001 From: Daniel Barnes Date: Tue, 3 May 2022 12:15:54 -0700 Subject: [PATCH] aws - tweak --- task/aws/resources/data_source_permission_set.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/task/aws/resources/data_source_permission_set.go b/task/aws/resources/data_source_permission_set.go index 726de34e..745d5baa 100644 --- a/task/aws/resources/data_source_permission_set.go +++ b/task/aws/resources/data_source_permission_set.go @@ -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" @@ -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 }