assign sg variable if security group already exists