How do I add an EC2 instance to a newly created security group? The security group was created with
client = session.client("ec2")
group_id = client.create_security_group(
DryRun=False,
GroupName=group_name,
VpcId=vpc_id,
Description=description
)
Aucun commentaire:
Enregistrer un commentaire