Closed simukappu closed 4 years ago
With aws-sdk-core >= 3.79.0, instance profile test will fail because of missing stub_request. We need to add stub_request for getting token request as follows or ignore IMDSv2 as sdk configuration.
stub_request(:put, "http://169.254.169.254/latest/api/token")
https://github.com/aws/aws-sdk-ruby/issues/2174 https://github.com/aws/aws-sdk-ruby/issues/2177
With aws-sdk-core >= 3.79.0, instance profile test will fail because of missing stub_request. We need to add stub_request for getting token request as follows or ignore IMDSv2 as sdk configuration.
https://github.com/aws/aws-sdk-ruby/issues/2174 https://github.com/aws/aws-sdk-ruby/issues/2177