Hello, everyone.I've got an issue, so let me ask a...
# aws
Hello, everyone.I've got an issue, so let me ask a question. To create AWS resources, I tried to perform
pulumi up
on an EC2 instance via instance profile with AdministratorAccess policy attached.I encountered following error when exec.
Copy code
Previewing update (main)

View Live: <https://app.pulumi.com/xxxxxx/pulumi-go/main/previews/866e47e5-b3e3-45c4-85e7-14478267abea>
  aws:iam:Role (sample-role):
    error: 1 error occurred:
        * error configuring Terraform AWS Provider: no valid credential sources for Terraform AWS Provider found.
    Please see <https://registry.terraform.io/providers/hashicorp/aws>
    for more information about providing credentials.
    Error: NoCredentialProviders: no valid providers in chain. Deprecated.
        For verbose messaging see aws.Config.CredentialsChainVerboseErrors
After I created IAM user to generate AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY and configured to ~/.aws/credentials, It worked properly. Sorry to ask such a basic question, but can' I perform 'pulumi up' with instance profile??
if you are running pulumi in EC2 you'll need to set
to false wherever you are creating your aws provider, or make sure that is set in your pulumi config for the default aws provider https://github.com/pulumi/pulumi-aws/issues/1359
@bumpy-grass-54508 Thanks David!! I'll try to set up
according to this issue.😄
No problem 👍