You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a way to generate uniuque hostname for vm_name. I want to achieve the same thing for AWS Security group. Right now we can't create a security group if the name exists already, so I want to append incrementing number.
I've created a security group method in Datastore and I want the security group names be like SG-${append_vm_name}-$n{3}.
This is what we use for unique vm_name. Is there a similar approach or code that I can reuse inside the security group method?
This issue has been automatically marked as stale because it has not been updated for at least 3 months.
If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.
Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation.
We have a way to generate uniuque hostname for
vm_name
. I want to achieve the same thing for AWS Security group. Right now we can't create a security group if the name exists already, so I want to append incrementing number.I've created a security group method in Datastore and I want the security group names be like
SG-${append_vm_name}-$n{3}
.This is what we use for unique
vm_name
. Is there a similar approach or code that I can reuse inside the security group method?prov.update_vm_name("#{prov.options[:vm_target_name]}$n{3}",:update_request => false)
I'm trying a workaround by using random number generator to append to SG name.
The text was updated successfully, but these errors were encountered: