diff --git a/copy_security_groups.py b/copy_security_groups.py index 4b2fb6b..035fe7d 100644 --- a/copy_security_groups.py +++ b/copy_security_groups.py @@ -34,4 +34,4 @@ for ip_permission in response['SecurityGroups'][0]['IpPermissionsEgress']: destination_ec2.authorize_security_group_egress(GroupId=new_security_group['GroupId'], IpPermissions=[ip_permission]) -print("Security group copied successfully!") +print(f"Security group copied successfully! New security group ID: {new_security_group['GroupId']}")