Download the Dockerfile
wget https://gist.githubusercontent.com/nitrocode/62505b0623cd9bf27e4b39a3f98412f5/raw/Dockerfile
I had an issue when trying to get the cloudflare account_id
which is available using the REST API but unavailable using the cloudflare terraform provider (original thread).
✗ curl -X GET "https://api.cloudflare.com/client/v4/accounts" \
-H "Content-Type:application/json" \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" |
jq -r '.result[] | select(.name == "<your-account-name>").id'
#!/bin/bash | |
# SAML IDP ARN to use to authenticate | |
export LEAPP_IDP_ARN="" | |
# The IAM role to assume | |
export LEAPP_ROLE_ARN="" | |
# The default profile name | |
export LEAPP_PROFILE_NAME="" | |
# Both the session name and the role session name | |
export LEAPP_PROFILE_ALIAS="" | |
# The region of the saml connection |
After enabling renovatebot on an org for the first time, it doesn't seem like there is a way to prevent opening a PR in every repo.
Using the gh cli, we can retrieve every repo, collect the PR number associated with the new PR, and close each one until we're ready to configure each.
ORG=myorg
gh repo list $ORG -L 400 --json name --jq '.[].name' > repo-list.text
It's nice to see a Verified message next to each commit for peace of mind.
Using GPG or S/MIME, you can sign tags and commits locally. These tags or commits are marked as verified on GitHub so other people can be confident that the changes come from a trusted source.
Install latest gpg
If using a mac use homebrew
Some math applied to alochol
NIAAA defines heavy drinking as follows: For men, consuming more than 4 drinks on any day or more than 14 drinks per week. For women, consuming more than 3 drinks on any day or more than 7 drinks per week.
Source: https://www.niaaa.nih.gov/alcohol-health/overview-alcohol-consumption/moderate-binge-drinking
In the United States, one "standard" drink (or one alcoholic drink equivalent) contains roughly 14 grams of pure alcohol, which is found in:
- 12 ounces of regular beer, which is usually about 5% alcohol
- 5 ounces of wine, which is typically about 12% alcohol
- 1.5 ounces of distilled spirits, which is about 40% alcohol
Use git::
prefix before the url of the git repo and suffix it with ?ref=<branch>
for a specific branch
For easy copy paste
module "example" {
source = "git::https://github.com/cloudposse/terraform-aws-ec2-client-vpn.git?ref=master"
# ...
}