billions-orange-7147206/16/2021, 4:01 PM
on an EC2 instance via instance profile with AdministratorAccess policy attached.I encountered following error when exec.
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??
Previewing update (main) View Live: <https://app.pulumi.com/xxxxxx/pulumi-go/main/previews/866e47e5-b3e3-45c4-85e7-14478267abea> : Diagnostics: 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
bumpy-grass-5450806/16/2021, 4:25 PM
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
billions-orange-7147206/16/2021, 4:29 PM
according to this issue.😄
bumpy-grass-5450806/16/2021, 4:30 PM