code: def create_temp_file():
      file = open(TEMP_FILE_PATH, "w")
      file.write(SAMPLE_TEXT)
  
file_path: airflow/tests/system/providers/amazon/aws/example_local_to_s3.py
imports: from __future__ import annotations
  import os
  from datetime import datetime
  from airflow.decorators import task
  from airflow.models.baseoperator import chain
  from airflow.models.dag import DAG
  from airflow.providers.amazon.aws.operators.s3 import S3CreateBucketOperator, S3DeleteBucketOperator
  from airflow.providers.amazon.aws.transfers.local_to_s3 import LocalFilesystemToS3Operator
  from airflow.utils.trigger_rule import TriggerRule
  from tests.system.providers.amazon.aws.utils import SystemTestContextBuilder
  from tests.system.utils import get_test_run
label_desc: Use image node_id 1 for calling a global function with example usage: create_temp_file() without return types