sparse-intern-71089
11/26/2020, 2:46 AMlittle-cartoon-10569
11/26/2020, 2:49 AMbreezy-butcher-78604
11/26/2020, 2:49 AMbreezy-butcher-78604
11/26/2020, 2:50 AMbreezy-butcher-78604
11/26/2020, 2:50 AMerror: 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
little-cartoon-10569
11/26/2020, 2:52 AMlittle-cartoon-10569
11/26/2020, 2:54 AMpulumi preview
doesn't complain about auth, and gives me valid differences between code and statelittle-cartoon-10569
11/26/2020, 2:55 AMerror: Preview failed: constructing secrets manager of type "cloud": secrets (code=Unknown): NoCredentialProviders: no valid providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrors
little-cartoon-10569
11/26/2020, 2:55 AMlittle-cartoon-10569
11/26/2020, 2:58 AMbreezy-butcher-78604
11/26/2020, 3:01 AMbreezy-butcher-78604
11/26/2020, 3:02 AMaws.iam.Role
breezy-butcher-78604
11/26/2020, 3:03 AMconst instanceRole = new aws.iam.Role(`${stack}-instance-role`, {
assumeRolePolicy: {
Version: "2012-10-17",
Statement: [{
Sid: "AllowEc2",
Principal: { Service: "<http://ec2.amazonaws.com|ec2.amazonaws.com>" },
Effect: "Allow",
Action: "sts:AssumeRole"
}]
}
});
breezy-butcher-78604
11/26/2020, 3:03 AMlittle-cartoon-10569
11/26/2020, 3:06 AMbreezy-butcher-78604
11/26/2020, 3:06 AMlittle-cartoon-10569
11/26/2020, 3:20 AMdocker-compose run puluimi/pulumi-nodejs preview
then I do see
error: Preview failed: constructing secrets manager of type "cloud": secrets (code=Unknown): NoCredentialProviders: no valid providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrorsI'm using the default Pulumi backend and secretsprovider.
breezy-butcher-78604
11/26/2020, 3:47 AMDiagnostics:
aws:iam:Role (dev-instance-role):
error: error configuring Terraform AWS Provider: error validating provider credentials: error calling sts:GetCallerIdentity: InvalidC
lientTokenId: The security token included in the request is invalid.
status code: 403, request id: 71f62027-ddf8-4f43-a017-54b2c5bf88a2
breezy-butcher-78604
11/26/2020, 3:47 AMbreezy-butcher-78604
11/26/2020, 3:48 AMlittle-cartoon-10569
11/26/2020, 3:51 AMlittle-cartoon-10569
11/26/2020, 3:52 AM