-
Notifications
You must be signed in to change notification settings - Fork 251
Closed
Labels
bugThis issue is a bug.This issue is a bug.
Description
Trying to just upload files. It feels like my key and secret arent working but i've double checked they are the right ones. Codes copied straight out of the readme.
Error:
Error retrieving credentials from the instance profile metadata server.
When you are not running inside of Amazon EC2, you must provide your AWS
access key ID and secret access key in the "key" and "secret" options when
creating a client or provide an instantiated
Aws\Common\Credentials\CredentialsInterface object.
([curl] 7: Failed to connect to 169.254.169.254: Host is down [url]
http://169.254.169.254/latest/meta-data/iam/security-credentials/)
Function:
$s3 = AWS::get('s3');
$s3->putObject(array(
'Bucket' => '[bucketname]',
'Key' => '[key]',
'SourceFile' => '[file]'
));
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.