Skip to content

Instantly share code, notes, and snippets.

View Gaasmann's full-sized avatar

Nicolas Haller Gaasmann

  • Montreal, QC, Canada
View GitHub Profile
@Gaasmann
Gaasmann / generic_typing.py
Created May 22, 2022 16:52
generic on variables
from abc import ABCMeta, abstractmethod
from typing import TypeVar, Generic, Type
class Item(metaclass=ABCMeta):
"""Base class for Item"""
class PaintedItem(Item):
"""a painted item."""
@Gaasmann
Gaasmann / debug.out
Created September 7, 2018 23:11
aws_route with nat gw: Issue on second run
2018/09/07 19:04:07 [INFO] Terraform version: 0.11.8 7a5c1d221ac209bbac66947c369815cd9ca70ed5
2018/09/07 19:04:07 [INFO] Go runtime version: go1.10.1
2018/09/07 19:04:07 [INFO] CLI args: []string{"/home/nicolas/nobackup/tmp/bug_terraform/bin/terraform", "apply", "-auto-approve"}
2018/09/07 19:04:07 [DEBUG] Attempting to open CLI config file: /home/nicolas/.terraformrc
2018/09/07 19:04:07 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2018/09/07 19:04:07 [INFO] CLI command args: []string{"apply", "-auto-approve"}
2018/09/07 19:04:07 [INFO] command: empty terraform config, returning nil
2018/09/07 19:04:07 [DEBUG] command: no data state file found for backend config
2018/09/07 19:04:07 [DEBUG] New state was assigned lineage "9949438c-2c4c-a0be-a69f-f8b21a90972d"
2018/09/07 19:04:07 [INFO] command: backend initialized: <nil>