botocore.exceptions.ParamValidationError: Parameter validation failed:
Missing required parameter in input: "Tags"
Unknown parameter in input: "Tag", must be one of: DryRun, Resources, Tags
This is the code I am using
import boto3
ec2 = boto3.resource('ec2')
vpc = ec2.create_vpc(CidrBlock='10.0.0.0/16')
vpc.create_tags(Tag=[{"Key":"TestVPC","Value":"default_vpc"}])
vpc.wait_until_available()
print(vpc.id)
Can someone help?