aws --region us-east-1 pricing get-products --service-code AmazonEC2 --filters \
"Type=TERM_MATCH,Field=capacitystatus,Value=Used" \
"Type=TERM_MATCH,Field=marketoption,Value=OnDemand" \
"Type=TERM_MATCH,Field=currentGeneration,Value=Yes" \
"Type=TERM_MATCH,Field=instanceType,Value=inf1.2xlarge" \
"Type=TERM_MATCH,Field=location,Value=US West (Oregon)" \
"Type=TERM_MATCH,Field=operatingSystem,Value=Linux" \
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Unlock card during ykman usage | |
.zshrc | |
``` | |
GPG_TTY=$(tty) | |
export GPG_TTY | |
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Cross-IAM Invalidate CloudFront from a central pipeline account | |
### | |
### new codepipelineActions.LambdaInvokeAction({ | |
### runOrder: 3, | |
### actionName: 'InvalidateCloudFront', | |
### role: this.devOpsPipelineRole, | |
### lambda: Function.fromFunctionArn(this, "test-cloudfrontInvalidator", "arn:aws:lambda:eu-west-1::function:pipelineInvalidateCloudFront"), | |
### userParameters: { | |
### bucketName: bucket.bucketName, | |
### targetPipelineRole: this.testPipelineRole.roleArn |
OlderNewer