Skip to content

Instantly share code, notes, and snippets.

View pkolyvas's full-sized avatar
🚴

Petros Kolyvas pkolyvas

🚴
View GitHub Profile
@pkolyvas
pkolyvas / main.tf
Created December 17, 2020 16:15 — forked from redeux/main.tf
Terraform Progressive Apply
locals {
kubeconfig_file = "${path.module}/kubeconfig"
}
provider "local" {}
# provider "kubernetes" {
# config_path = local.kubeconfig_file
# }
@pkolyvas
pkolyvas / main.tf
Created December 17, 2020 16:15 — forked from redeux/main.tf
Terraform Progressive Apply
locals {
kubeconfig_file = "${path.module}/kubeconfig"
}
provider "local" {}
# provider "kubernetes" {
# config_path = local.kubeconfig_file
# }

Make it real

Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.

Ship it

Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.

Do it with style

Terraform v0.13

Terraform v0.13 introduces a new provider source attribute that allows you to declare the registry source of a terraform provider. This attribute is part of the required_providers setting inside a terraform configuration block.

The Registry currently indexes Official and Partner providers, and later work will allow for community providers as well, which Terraform will automatically download and install on terraform init.

Background

@pkolyvas
pkolyvas / installer.md
Created May 15, 2020 20:40 — forked from mildwonkey/installer.md
Provider Installer overview

Provider Installation

Overview

Terraform 0.13 has an entirely new provider installer that allows for greater control over individual provider installation methods. The breaking change is a new, required, subdirectory hierarchy for provider binaries.

Terraform v0.12

Terraform v0.12 Provider Installer

The key differences between Terraform v0.12 and v0.13 are the directory hierarchy. Terraform v0.12 would look for a provider binary under the following directories:

@pkolyvas
pkolyvas / intensify.sh
Created January 29, 2020 21:59 — forked from briancain/intensify.sh
intensifies Slack emoji creator
#!/bin/bash
# Generate a `:something-intensifies:` Slack emoji, given a reasonable image
# input. I recommend grabbing an emoji from https://emojipedia.org/
set -euo pipefail
# Number of frames of shaking
count=10
# Max pixels to move while shaking
@pkolyvas
pkolyvas / Gemfile
Last active April 16, 2020 15:27 — forked from jdennes/Gemfile
Export a list of members from a GitHub organisation
source "https://rubygems.org"
gem "octokit"