sous-chefs / aws

Development repository for the aws cookbook
https://supermarket.chef.io/cookbooks/aws
Apache License 2.0
610 stars 554 forks source link

Uninitialized constant AwsCookbook::STS #392

Closed csol01 closed 5 years ago

csol01 commented 5 years ago

Cookbook version

8.0.4

Chef-client version

14.7.17

Platform Details

Windows 2016 / AWS

Scenario:

Running recipies that bootstrap EC2 instances but call the 'aws' cookbook to perform certain actions.

Steps to Reproduce:

Execute the Role specific cookbook. chef-client initializes successfully it then downloads a bunch of GEMs starts the compiling phase and then throws the error: uninitialized constant AwsCookbook::STS Recipe Compile Error in C:/chef/cache/cookbooks/aws/resources/iam_policy.rb

Issue is at line 78 of the resource/iam_policy.rb file.

Expected Result:

Chef uses the instance profile to access various resources to bootstrap new ASG instances.

Actual Result:

Compile error:

Recipe Compile Error in C:/chef/cache/cookbooks/aws/resources/iam_policy.rb

NameError

uninitialized constant AwsCookbook::STS

welcomebot commented 5 years ago

Hey There It looks like this is the first issue you've filed against the chef-cookbooks project. I'm here to offer you a bit of extra help to make sure we can quickly get back to you. Make sure you've filled out all the fields in our issue template. Make sure you've provided us with the version of chef-client you're running, your operating system and the version of the cookbook. If you're not using the most up to date version of the cookbook then please make sure to update first. Lots of things change between versions even if you're issue isn't listed in the changelog. Finally please give us a detailed description of the issue you're having. The more we know about what you're trying to do, what actually happens, and how you can reproduce the problem, the better.

If you're looking for more immediate troubleshooting help make sure to check out #general on the Chef Community Slack. There's plenty of folks there willing to lend a helping hand. Thanks for the first issue. We hope we can get back to you soon with a solution.

csol01 commented 5 years ago

One more thing, this was all working about a week to two weeks ago...

csol01 commented 5 years ago

Apologies, corrupted local code store...