%▶ ./member_card/main.py --email=jeff.hogan1@gmail.com --membership-sku=SQ3671268 -q
[I 220117 11:10:10 main:160] Stats: len(subscriptions)=2494 / len(active_subscriptions)=2030 / len(inactive_subscriptions)=464
[I 220117 11:10:10 main:168] Subscription found for jeff.hogan1@gmail.com:
[<AnnualSubscription jeff.hogan1@gmail.com 2022-01-07T19:56:44.782000+00:00 fulfillment_status=PENDING (active=True) ... >, <AnnualSubscription jeff.hogan1@gmail.com 2021-07-15T20:23:31.635000+00:00 fulfillment_status=FULFILLED (active=True) ... >]
<print membership card here>
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/bin/env python | |
import json | |
from datetime import date | |
import click | |
import gspread | |
import requests | |
from logzero import logger |
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
alert("Hello! I am an alert box!!"); |
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
variable "github_jwt_issuer_url" { | |
description = "Issuer URL for GitHub; used in JWT/OIDC auth method configuration." | |
type = string | |
default = "https://token.actions.githubusercontent.com" | |
} | |
variable "github_org_name" { | |
type = string | |
default = "some-github-org" | |
} |
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
variable "allowlist_excluded_ips" { | |
type = list(string) | |
default = [ | |
"127.0.0.1/32", | |
"192.168.240.0/23", | |
] | |
} | |
variable "allowlist_source_range" { | |
type = list(string) |
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 -version | |
2020/06/17 14:23:16 [INFO] Terraform version: 0.13.0 beta2 | |
2020/06/17 14:23:16 [INFO] Go runtime version: go1.14.2 | |
2020/06/17 14:23:16 [INFO] CLI args: []string{"/usr/local/Cellar/tfenv/2.0.0/versions/0.13.0-beta2/terraform", "-version"} | |
2020/06/17 14:23:16 [DEBUG] Attempting to open CLI config file: /Users/me/.terraformrc | |
2020/06/17 14:23:16 Loading CLI configuration from /Users/me/.terraformrc | |
2020/06/17 14:23:16 Loading CLI configuration from /Users/me/.terraform.d/credentials.tfrc.json | |
2020/06/17 14:23:16 [DEBUG] checking for credentials in "/Users/me/.terraform.d/plugins" | |
2020/06/17 14:23:16 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins | |
2020/06/17 14:23:16 [DEBUG] will search for provider plugins in /Users/me/.terraform.d/plugins |
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 init | |
2020/06/05 11:24:17 [INFO] Terraform version: 0.13.0 beta1 | |
2020/06/05 11:24:17 [INFO] Go runtime version: go1.14.2 | |
2020/06/05 11:24:17 [INFO] CLI args: []string{"/usr/local/Cellar/tfenv/1.0.2/versions/0.13.0-beta1/terraform", "init"} | |
2020/06/05 11:24:17 [DEBUG] Attempting to open CLI config file: /Users/jeffwecan/.terraformrc | |
2020/06/05 11:24:17 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2020/06/05 11:24:17 Loading CLI configuration from /Users/jeffwecan/.terraform.d/credentials.tfrc.json | |
2020/06/05 11:24:17 [DEBUG] checking for credentials in "/Users/jeffwecan/.terraform.d/plugins" | |
2020/06/05 11:24:17 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins | |
2020/06/05 11:24:17 [DEBUG] ignoring non-existing provider search directory /Users/jeffwecan/Library/Application Support/io.terraform/plugins |
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 state rm data.terraform_remote_state.infrastructure | |
2020/06/05 11:24:05 [INFO] Terraform version: 0.13.0 beta1 | |
2020/06/05 11:24:05 [INFO] Go runtime version: go1.14.2 | |
2020/06/05 11:24:05 [INFO] CLI args: []string{"/usr/local/Cellar/tfenv/1.0.2/versions/0.13.0-beta1/terraform", "state", "rm", "data.terraform_remote_state.infrastructure"} | |
2020/06/05 11:24:05 [DEBUG] Attempting to open CLI config file: /Users/jeffwecan/.terraformrc | |
2020/06/05 11:24:05 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2020/06/05 11:24:05 Loading CLI configuration from /Users/jeffwecan/.terraform.d/credentials.tfrc.json | |
2020/06/05 11:24:05 [DEBUG] checking for credentials in "/Users/jeffwecan/.terraform.d/plugins" | |
2020/06/05 11:24:05 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins | |
2020/06/05 11:24:05 [DEBUG] ignoring non-existing provider search directory /Users/jeffwecan/Library/Application Support/io.terraform/plugins |
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
2020/06/05 10:58:10 [INFO] Terraform version: 0.13.0 beta1 | |
2020/06/05 10:58:10 [INFO] Go runtime version: go1.14.2 | |
2020/06/05 10:58:10 [INFO] CLI args: []string{"/usr/local/Cellar/tfenv/1.0.2/versions/0.13.0-beta1/terraform", "init"} | |
2020/06/05 10:58:10 [DEBUG] Attempting to open CLI config file: /Users/jeffwecan/.terraformrc | |
2020/06/05 10:58:10 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2020/06/05 10:58:10 Loading CLI configuration from /Users/jeffwecan/.terraform.d/credentials.tfrc.json | |
2020/06/05 10:58:10 [DEBUG] checking for credentials in "/Users/jeffwecan/.terraform.d/plugins" | |
2020/06/05 10:58:10 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins | |
2020/06/05 10:58:10 [DEBUG] ignoring non-existing provider search directory /Users/jeffwecan/Library/Application Support/io.terraform/plugins | |
2020/06/05 10:58:10 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins |
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
BEGIN MESSAGE. | |
GcEHgB2dqHloaQT ibjY01ZQpPN1Qpd jvDpD0hg31Rlyav SJYx56DGRtCLhVa | |
HRNwxagjtM6yK2S LXGwzwAmSZ5TCKq 6Xr2MZHgg4eetgq zklrWU0Mo6IV1Xr | |
FcaZprzffSYi4DV u2g78kEaj7cNjFY cFVtCodX6FMPcWv yfDjWrNBx2ldijs | |
dIxsmGeCejqo1mp azlpldDarlhJJ0w ItULo29HFxl. | |
END MESSAGE. |
NewerOlder