<details>
<summary>Click me</summary>
### Heading
1. Foo
2. Bar
* Baz
* Qux
- install Tampermonkey
- Click here
Suggestion 1:
→ At the beginning inside the <URL>
(as in the terraform registry, or at the end with format like ASCII document format for example)
→ Always sort by <Mode>
(Data Source < Resource), then sort by <ProviderName>_<Type>.<Name>
This file contains 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
# Terraform Cost Estimation + Open Policy Agent | |
# | |
# This code snippet supports terraform state for now. | |
# | |
# Get the whole response: | |
# opa eval --data terraform-cost-estimation.rego --input terraform.tfstate --format pretty data.terraform_cost_estimation | |
# | |
# Get boolean response. Return false if state (per hour) is too expensive: | |
# opa eval --data terraform-cost-estimation.rego --input terraform.tfstate --format pretty data.terraform_cost_estimation.response.allowed |
This file contains 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
# Terraform | |
alias trf='terraform' | |
## Terragrunt | |
alias trg='terragrunt' | |
alias trgfmt='terragrunt hclfmt' | |
alias trglint='find . -type f -not -path "*/\.*" | grep ".hcl" | terragrunt hclfmt' | |
alias trgcleancache='find . -type d -name ".terragrunt-cache" -prune -exec rm -rf {} \;' | |
function trginitall() { |
- AWS Account
- AWS API User API Key/Secret
- Bitbucket Account
- Create or update an existing Bitbucket repo
- Open https://bitbucket.org/USERNAME/REPO/addon/pipelines/deployments
This file contains 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
#!/usr/local/bin/python3 | |
from kubernetes import client, config | |
import sys | |
config.load_kube_config() | |
def print_help(): | |
print('I need the namespace(s) as an argument') | |
if len(sys.argv) <= 1: |
This file contains 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
<?php declare(strict_types=1); | |
if ( | |
extension_loaded( 'xdebug' ) | |
&& version_compare( '2.6.0', phpversion( 'xdebug' ), '<=' ) | |
) | |
{ | |
/** @noinspection PhpUndefinedFunctionInspection */ | |
/** @noinspection PhpUndefinedConstantInspection */ | |
xdebug_set_filter( |
This file contains 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
FROM ubuntu:16.04 | |
MAINTAINER Sammy Kaye Powers | |
RUN apt-get update \ | |
&& apt-get install sudo vim git -y \ | |
&& apt-get install build-essential autoconf valgrind -y \ | |
&& apt-get install re2c bison -y \ | |
&& apt-get install libxml2-dev locales lcov -y |
NewerOlder