Skip to content

Commit

Permalink
fix the use_fips_endpointuse_fips_endpoint oassed into
Browse files Browse the repository at this point in the history
`create_aws_interface`
  • Loading branch information
Archie Gunasekara committed Oct 14, 2024
1 parent fc9cca4 commit 73303c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/s3_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def s3
require 'aws-sdk-s3'

Chef::Log.debug('Initializing the S3 Client')
@s3 ||= create_aws_interface(::Aws::S3::Client, region: new_resource.region, use_fips_endpoint: use_fips_endpoint)
@s3 ||= create_aws_interface(::Aws::S3::Client, region: new_resource.region, use_fips_endpoint: new_resource.use_fips_endpoint)
end

def s3_obj
Expand Down

0 comments on commit 73303c8

Please sign in to comment.