MS Flight Simulator World Update 2: USA

The release notes for World Update 2 look pretty extensive, adding plenty of additional detailed scenery areas. It’s interesting Davis Monthan AFB boneyard is one of the scenery update areas because I’ve been sitting on a collection of screenshots from flying over this area, so it will be interesting to see how much the scenery has improved. In the meantime, here’s some aircraft turned to stone and fused to the ground:

AWS CloudFormation basics – part1

Collection of notes, templates and tips for building AWS CloudFormation templates.

The basic structure of CloudFormation files (in JSON):

{
  "Resources" : {
    "ExampleResourceName" : {
      "Type" : "AWS::?::?",
      "Properties" : {
        "Example" : "propertyvalue"
      }
    }
  }
}
  • Resources: the AWS services to be provisioned. There can be multiple repeating Resource elements in this section, to provision/configure multiple services in a stack
  • ExampleResourceName: a name for each resource being provisioned
  • Type: the AWS type for the resource, e.g. AWS::S3::Bucket
  • Properties: properties for the service being provisioned/configured

AWS CLI commands:

aws cloudformation create-stack --stack-name STACK-NAME
  --template-body file://template-file.json
  --parameters ParameterKey=example1,ParameterValue=value1    
    ParameterKey=example2,ParameterValue=value2
aws cloudformation list-stacks
aws cloudformation delete-stack --stack-name STACK-NAME

If your stack creates IAM resources, you’ll also need to pass:

--capabilities CAPABILITY_NAMED_IAM

Otherwise you’ll see this error:

An error occurred (InsufficientCapabilitiesException) when calling the CreateStack operation: Requires capabilities : [CAPABILITY_NAMED_IAM]

AWS CLI error “The provided token is malformed or otherwise invalid”

Starting getting this error when running a simple ‘aws s3 ls’

An error occurred (InvalidToken) when calling the ListBuckets operation: The provided token is malformed or otherwise invalid.

My current version:

% aws --version
aws-cli/2.0.59 Python/3.7.4 Darwin/20.1.0 exe/x86_64

Downloaded latest version and upgraded and problem fixed. New version is now:

% aws --version aws-cli/2.1.3 Python/3.7.4 Darwin/20.1.0 exe/x86_64

Java Developer’s Journal Resource CD from 2004

I’ve got some weird stuff on my office bookshelf. While looking for something else, I came across this CD from 2004 which claims to have every issue of JDJ published, up until 2004. That can’t be that may so far, but apparently there was 85 issues up until this point.

“The Complete Works”!

Time to crack out the USB CD drive and see exactly what’s on this CD. I’ll post a follow up later with some examples what’s on the CD!