Skip to content

Commit

Permalink
Fix semgrep 'ci.semgrep.framework.flex-type-from-framework'.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Sep 20, 2024
1 parent b958507 commit c9b6615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/imagebuilder/lifecycle_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ func (r *lifecyclePolicyResource) Delete(ctx context.Context, request resource.D
conn := r.Meta().ImageBuilderClient(ctx)

_, err := conn.DeleteLifecyclePolicy(ctx, &imagebuilder.DeleteLifecyclePolicyInput{
LifecyclePolicyArn: aws.String(data.ID.ValueString()),
LifecyclePolicyArn: data.ID.ValueStringPointer(),
})

if tfawserr.ErrCodeEquals(err, errCodeResourceNotFoundException) {
Expand Down

0 comments on commit c9b6615

Please sign in to comment.