In "configure client" step using python it displays the following:
import os
import boto3
session = boto3.session.Session()
client = session.client('s3',
config=botocore.config.Config(s3={'addressing_style': 'virtual'}), // Configures to use subdomain/virtual calling format.
region_name='nyc3',
aws_access_key_id=os.getenv('SPACES_KEY'),
aws_secret_access_key=os.getenv('SPACES_SECRET'))
The first argument "config=botocore.config.Config"
does not working as botocore is not defined.