aws ec2 associate-security-group-vpc
Associates a security group with another VPC in the same Region. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--group-idA security group ID.--vpc-idA VPC ID.