Skip to content

Commit

Permalink
Fixes PermaDiff Issue in `google_storage_transfer_job.aws_s3_data_sou…
Browse files Browse the repository at this point in the history
…rce.aws_access_key` field (#12666)
  • Loading branch information
kautikdk authored Jan 8, 2025
1 parent 15c9796 commit 2b00b9b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,7 @@ func flattenAwsS3Data(awsS3Data *storagetransfer.AwsS3Data, d *schema.ResourceDa
"path": awsS3Data.Path,
"role_arn": awsS3Data.RoleArn,
}
if _, exist := d.GetOkExists("transfer_spec.0.aws_s3_data_source.0.aws_access_key"); exist{
if _, exist := d.GetOk("transfer_spec.0.aws_s3_data_source.0.aws_access_key"); exist{
data["aws_access_key"] = flattenAwsAccessKeys(d)
}
return []map[string]interface{}{data}
Expand Down

0 comments on commit 2b00b9b

Please sign in to comment.