Studying for Cloud Cert
Consider using an automation tool of some kind (Terraform, Pulumi, Ansible, cli, etc) when studying for a cloud cert (Azure, AWS, GCP, etc.). This has many benefits:
You get to learn a tool you’ve never had the chance to use before, so you’d effectively be learning two things at once. You’re getting yourself hands on troubleshooting experience. You’re almost guaranteed to delete all the resources you’ve created with them. I insist on ‘almost’: you still have to remember to run the destroy command at the end of the day (happened to me).
Actualbudget Api Troubleshooting
I wanted to work with the actualbudget api and encountered the following error when running my script:
$ node smokeTest.js Error updating Error: out-of-sync-migrations at checkDatabaseValidity (/api/node_modules/@actual-app/api/app/bundle.api.js:61515:13) at Module.migrate (/api/node_modules/@actual-app/api/app/bundle.api.js:61522:3) at async runMigrations (/api/node_modules/@actual-app/api/app/bundle.api.js:66452:3) at async updateVersion (/api/node_modules/@actual-app/api/app/bundle.api.js:66468:3) at async loadBudget (/api/node_modules/@actual-app/api/app/bundle.api.js:61104:5) [...] I had encountered this error before and was due to the @actual-app/api node package to be outdated.
View the package version installed on your computer (5.1.2 in that case):
Too Lazy to Write
Me
Can you create a cloudformation template that will create a custom config rule in aws?
Copilot
Sure, here’s a basic AWS CloudFormation template that creates a custom AWS Config rule:
AWSTemplateFormatVersion: '2010-09-09' Resources: ConfigRule: Type: 'AWS::Config::ConfigRule' Properties: ConfigRuleName: MyCustomRule Description: A custom rule created by CloudFormation Scope: ComplianceResourceTypes: - 'AWS::EC2::Instance' Source: Owner: CUSTOM_LAMBDA SourceIdentifier: arn:aws:lambda:us-east-1:123456789012:function:myCustomRuleFunction SourceDetails: - EventSource: aws.config MessageType: ConfigurationItemChangeNotification - EventSource: aws.config MessageType: OversizedConfigurationItemChangeNotification InputParameters: {} MaximumExecutionFrequency: TwentyFour_Hours This template creates a custom AWS Config rule that triggers on changes to EC2 instances.
Get Started
Whatever project or task you want to undertake in life, the only thing that matters is to get started.
It becomes easier with practice.
It doesn’t matter what you do or how much you do. Get started and take it from there.
If you are stuck, get unstuck by doing something. Anything, just to get moving.
Your first workout will be bad. Your first podcast will be bad. Your first speech will be bad.