Open ajeba99 opened 8 years ago
Take a look at https://github.com/chef/chef-provisioning-aws/issues/398#issuecomment-159152224 to see the solution I found using the ranger
gem to turn the string from the databag into a range that chef-provisioning-aws expects.
Right, I do appreciate the potential work around but I am looking for this to work like other parts Chef Provisioning when using data bags.
So I am trying to build the networking portion of my customer environment in AWS using data bags.
Here is my Chef environment ...
I am having two issues.
First, when security groups are being created, if I am defining a range or list of ports, yet only the first port is being acknowledged. Here is my script ...
Here is the security group portion of my data bag the script is pulling from ...
... And here is the output from the log ...
Second, when I hit up-arrow and enter to just simply rerun the command again I get the following ...
It seems it's not doing what it's supposed to on subsequent runs.