sparse-intern-71089
07/18/2022, 5:34 PMlittle-cartoon-10569
07/18/2022, 9:49 PMbest-appointment-51810
07/19/2022, 12:15 AMlittle-cartoon-10569
07/19/2022, 12:16 AMpulumi login
in the workflow (ideally via the Pulumi action)?little-cartoon-10569
07/19/2022, 12:17 AMbest-appointment-51810
07/19/2022, 1:03 AMlittle-cartoon-10569
07/19/2022, 1:04 AMlittle-cartoon-10569
07/19/2022, 1:05 AMbest-appointment-51810
07/19/2022, 1:10 AMbest-appointment-51810
07/19/2022, 1:10 AMlittle-cartoon-10569
07/19/2022, 1:11 AMaws sts get-caller-identity
return the expected values?little-cartoon-10569
07/19/2022, 1:12 AMbest-appointment-51810
07/19/2022, 1:14 AMaws sts get-caller-identity
works and yes I can get to the internetlittle-cartoon-10569
07/19/2022, 1:18 AMbest-appointment-51810
07/19/2022, 1:20 AMbest-appointment-51810
07/19/2022, 1:20 AMconfig:
aws:region: us-east-1
aws:skipCredentialsValidation: true
cloudflare:apiToken:
secure: redacted
final:airflowpass:
secure: redacted
final:datadogApiKey:
secure: redacted
final:redispass:
secure: redacted
final:zoneId: redacted
linode:token:
secure: redacted
best-appointment-51810
07/19/2022, 1:21 AMbest-appointment-51810
07/19/2022, 1:21 AMconst tags = {
"File": path.join(__dirname, __filename),
"Manged By": "pulumi",
"Code": "London Bridge",
"Project": "UoL final project"
}
const awsProvider = new aws.Provider("main",
{
defaultTags: {
tags
}
}
)
little-cartoon-10569
07/19/2022, 1:26 AMaws:skipCredentialsValidation: true
do? Looks like it might cause failure if validation is required....little-cartoon-10569
07/19/2022, 1:27 AMlittle-cartoon-10569
07/19/2022, 1:34 AMSkip the credentials validation via STS API. Used for AWS API implementations that do not have STS available/implemented.Pretty sure you don't want that.
best-appointment-51810
07/19/2022, 1:34 AMlittle-cartoon-10569
07/19/2022, 2:03 AMlittle-cartoon-10569
07/19/2022, 2:03 AMconst awsProvider = null; /* new aws.Provider("main",
{
defaultTags: {
tags
}
}
) */
little-cartoon-10569
07/19/2022, 2:04 AMbest-appointment-51810
07/19/2022, 3:17 AMbest-appointment-51810
07/19/2022, 3:17 AMlittle-cartoon-10569
07/19/2022, 3:18 AMlittle-cartoon-10569
07/19/2022, 3:18 AMlittle-cartoon-10569
07/19/2022, 3:19 AMlittle-cartoon-10569
07/19/2022, 3:20 AMadorable-wall-67745
07/20/2022, 7:58 AMlittle-cartoon-10569
07/20/2022, 7:31 PMadorable-wall-67745
07/20/2022, 10:56 PM1. brew install pulumi/tap/pulumi
2. mkdir quickstart && cd quickstart
3. pulumi new aws-typescript
4. pulumi up
And when I run the pulumi up
, it always throw me this error:
error: unable to validate AWS credentials - see <https://pulumi.io/install/aws.html> for details on configuration
adorable-wall-67745
07/20/2022, 10:58 PMadorable-wall-67745
07/20/2022, 10:58 PMadorable-wall-67745
07/20/2022, 10:59 PMlittle-cartoon-10569
07/20/2022, 11:05 PMadorable-wall-67745
07/20/2022, 11:06 PMadorable-wall-67745
07/20/2022, 11:14 PMdebug: Running program '/Users/user/Documents/workspace/quickstart1' in pwd '/Users/user/Documents/workspace/quickstart1' w/ args:
debug: Registering resource: t=aws:s3/bucket:Bucket, name=my-bucket, custom=true, remote=false
debug: RegisterResource RPC prepared: t=aws:s3/bucket:Bucket, name=my-bucket
debug: Retrieved credentials from "SharedConfigCredentials: /Users/user/.aws/credentials"
debug: Trying to get account information via sts:GetCallerIdentity
debug: [aws-sdk-go-v2] Request
debug: POST / HTTP/1.1
debug: Host: <http://sts.us-east-1.amazonaws.com|sts.us-east-1.amazonaws.com>
debug: User-Agent: aws-sdk-go-v2/1.16.6 os/macos lang/go/1.18.3 md/GOOS/darwin md/GOARCH/amd64 api/sts/1.16.4
debug: Content-Length: 43
debug: Amz-Sdk-Invocation-Id: 2fbf2624-545e-4f8a-8c85-7d9a43bcf627
debug: Amz-Sdk-Request: attempt=1; max=3
debug: Authorization: AWS4-HMAC-SHA256 Credential=AKIA2ZRXE6QKFQPH2J5D/20220720/us-east-1/sts/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-request;content-length;content-type;host;x-amz-date, Signature=9ca697c406025756ccb5cdadcf0623d0861c617500a3019e63665c9abee1b41a
debug: Content-Type: application/x-www-form-urlencoded
debug: X-Amz-Date: 20220720T231205Z
debug: Accept-Encoding: gzip
debug:
debug: Action=GetCallerIdentity&Version=2011-06-15
debug: [aws-sdk-go-v2] retrying request STS/GetCallerIdentity, attempt 2
debug: [aws-sdk-go-v2] Request
debug: POST / HTTP/1.1
debug: Host: <http://sts.us-east-1.amazonaws.com|sts.us-east-1.amazonaws.com>
debug: User-Agent: aws-sdk-go-v2/1.16.6 os/macos lang/go/1.18.3 md/GOOS/darwin md/GOARCH/amd64 api/sts/1.16.4
debug: Content-Length: 43
debug: Amz-Sdk-Invocation-Id: 2fbf2624-545e-4f8a-8c85-7d9a43bcf627
debug: Amz-Sdk-Request: attempt=2; max=3
debug: Authorization: AWS4-HMAC-SHA256 Credential=AKIA2ZRXE6QKFQPH2J5D/20220720/us-east-1/sts/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-request;content-length;content-type;host;x-amz-date, Signature=d331c2fc417183ff8b6dce27dfaf21e7c15ac7fd9c48feb56ce9d3c711b36782
debug: Content-Type: application/x-www-form-urlencoded
debug: X-Amz-Date: 20220720T231237Z
debug: Accept-Encoding: gzip
debug:
debug: Action=GetCallerIdentity&Version=2011-06-15
debug: [aws-sdk-go-v2] retrying request STS/GetCallerIdentity, attempt 3
debug: [aws-sdk-go-v2] Request
debug: POST / HTTP/1.1
debug: Host: <http://sts.us-east-1.amazonaws.com|sts.us-east-1.amazonaws.com>
debug: User-Agent: aws-sdk-go-v2/1.16.6 os/macos lang/go/1.18.3 md/GOOS/darwin md/GOARCH/amd64 api/sts/1.16.4
debug: Content-Length: 43
debug: Amz-Sdk-Invocation-Id: 2fbf2624-545e-4f8a-8c85-7d9a43bcf627
debug: Amz-Sdk-Request: attempt=3; max=3
debug: Authorization: AWS4-HMAC-SHA256 Credential=AKIA2ZRXE6QKFQPH2J5D/20220720/us-east-1/sts/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-request;content-length;content-type;host;x-amz-date, Signature=0424fc82b8c11249605b0594638fafc0cd41301ed7306ed3344960b3e3baf87f
debug: Content-Type: application/x-www-form-urlencoded
debug: X-Amz-Date: 20220720T231307Z
debug: Accept-Encoding: gzip
debug:
debug: Action=GetCallerIdentity&Version=2011-06-15
debug: [aws-sdk-go-v2] max retry attempts exhausted, max 3
adorable-wall-67745
07/20/2022, 11:14 PMlittle-cartoon-10569
07/20/2022, 11:23 PMlittle-cartoon-10569
07/20/2022, 11:23 PMlittle-cartoon-10569
07/20/2022, 11:25 PMadorable-wall-67745
07/20/2022, 11:32 PMadorable-wall-67745
07/20/2022, 11:32 PM