Skip to content

Instantly share code, notes, and snippets.

View pkolyvas's full-sized avatar
🚴

Petros Kolyvas pkolyvas

🚴
View GitHub Profile
@pkolyvas
pkolyvas / jira_pr_review_request.yml
Created September 27, 2023 12:50
GitHub Action - Create Jira Issues for PR Reviews
name: jira_request
on:
pull_request:
branches:
- master
types: review_requested
jobs:
create-request:
@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 / keybase.md
Created March 27, 2020 16:57
keybase.md

Keybase proof

I hereby claim:

  • I am pkolyvas on github.
  • I am dialing_wand (https://keybase.io/dialing_wand) on keybase.
  • I have a public key ASAThzf6_qh4zhcJop8NhxWoC0kFHsYQjCK-3DVvwHDM3Qo

To claim this, I am signing this object:

type Builder interface {
+ ConfigSpec() hcldec.ObjectSpec
- Prepare(...interface{}) ([]string, error)
+ Prepare(...interface{}) ([]string, []string, error)
...
}
type Provisioner interface {
+ ConfigSpec() hcldec.ObjectSpec
- Provision(context.Context, Ui, Communicator) error
{
"builders": [
{
"type": "null",
"communicator": "none"
}
],
"provisioners": [
{
"type": "shell-local",
source "file" "example" {
content = "Happy 2020"
target = "./test_artifact.txt"
}
build {
sources = [
"source.file.example"
]
post-processor "shell-local" {
inline = ["echo We hope you like your gift!"]