Closed faangbait closed 2 months ago
The ROSA (HCP) security group names do not include the "Name=worker" pattern match. They are styled like: sha256junk2c9s1lebd-default-sg
sha256junk2c9s1lebd-default-sg
https://github.com/ibm-mas/ansible-devops/blob/47d6975c65123e862a2728bec341ca152f0ab05e/ibm/mas_devops/roles/ocp_efs/tasks/efs-setup.yml#L33-L35
A few options yield valid security groups:
aws ec2 describe-security-groups --filters Name=vpc-id,Values=['vpc-xxxxxxxxx'] Name=description,Values='*worker*'
aws ec2 describe-security-groups --filters Name=vpc-id,Values=['vpc-xxxxxxxxx'] Name=tag:api.openshift.com/id,Values='*'
The ROSA (HCP) security group names do not include the "Name=worker" pattern match. They are styled like:
sha256junk2c9s1lebd-default-sg
https://github.com/ibm-mas/ansible-devops/blob/47d6975c65123e862a2728bec341ca152f0ab05e/ibm/mas_devops/roles/ocp_efs/tasks/efs-setup.yml#L33-L35
A few options yield valid security groups:
aws ec2 describe-security-groups --filters Name=vpc-id,Values=['vpc-xxxxxxxxx'] Name=description,Values='*worker*'
aws ec2 describe-security-groups --filters Name=vpc-id,Values=['vpc-xxxxxxxxx'] Name=tag:api.openshift.com/id,Values='*'