Modify a aws security group specific rule using ruby fog.

18 views
Skip to first unread message

sreenivas narayan

unread,
Mar 31, 2017, 9:00:11 AM3/31/17
to ruby-fog
Hello Guys,

I want to modify ip address of a particular rule in aws security group. Please let me know the syntax. 

Thanks
Sreenivas

Rupak Ganguly

unread,
Mar 31, 2017, 9:19:53 AM3/31/17
to ruby...@googlegroups.com
Hi Sreenivas,
  For AWS, the functionality has been separated out to the fog-aws meta gem. Please look at https://github.com/fog/fog-aws/blob/master/lib/fog/aws/compute.rb
To see how to change a rule in a security group. Should be simple as fetching the existing rule and updating the IP address and then saving it back.

Thanks,
Rupak Ganguly
--
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-fog+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages