I hereby claim:
- I am pete0emerson on github.
- I am pemerson (https://keybase.io/pemerson) on keybase.
- I have a public key ASD1NNaJDtPpHbklurBPT1Lu9e5MULcAIF17fPQaSe3jxgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
import time | |
from slackclient import SlackClient | |
import sqlite3 | |
from pprint import pprint | |
import re | |
import os | |
import imp | |
import sys |
Petes-MacBook-Pro:demo pete$ terraform apply | |
aws_cloudfront_origin_access_identity.origin_access_identity: Refreshing state... (ID: E2VGD2J9W57USN) | |
aws_s3_bucket.cdn_bucket: Refreshing state... (ID: recargas-cdn-bucket) | |
aws_cloudfront_distribution.cloudfront_distribution: Creating... | |
active_trusted_signers.%: "" => "<computed>" | |
arn: "" => "<computed>" | |
caller_reference: "" => "<computed>" | |
default_cache_behavior.#: "0" => "1" | |
default_cache_behavior.1627832136.allowed_methods.#: "0" => "7" | |
default_cache_behavior.1627832136.allowed_methods.0: "" => "DELETE" |
Petes-MacBook-Pro:demo pete$ terraform apply | |
aws_cloudfront_origin_access_identity.origin_access_identity: Creating... | |
caller_reference: "" => "<computed>" | |
cloudfront_access_identity_path: "" => "<computed>" | |
etag: "" => "<computed>" | |
iam_arn: "" => "<computed>" | |
s3_canonical_user_id: "" => "<computed>" | |
aws_s3_bucket.cdn_bucket: Creating... | |
acceleration_status: "" => "<computed>" | |
acl: "" => "public-read" |
Web application:
from flask import Flask
import optparse
import time
import socket
import os
app = Flask(__name__)
Terraform Version: 0.6.15 | |
Resource ID: aws_cloudfront_distribution.webapp-stage | |
Mismatch reason: attribute mismatch: origin.2204279056.custom_header.# | |
Diff One (usually from plan): *terraform.InstanceDiff{Attributes:map[string]*terraform.ResourceAttrDiff{"restrictions.1097372288.geo_restriction.#":*terraform.ResourceAttrDiff{Old:"0", New:"1", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Type:0x0}, "default_cache_behavior.1454394855.allowed_methods.#":*terraform.ResourceAttrDiff{Old:"0", New:"7", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Type:0x0}, "default_cache_behavior.1454394855.allowed_methods.2":*terraform.ResourceAttrDiff{Old:"", New:"HEAD", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Type:0x0}, "default_cache_behavior.1454394855.max_ttl":*terraform.ResourceAttrDiff{Old:"", New:"86400", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, |
[all] | |
ubuntu-01 | |
ubuntu-02 | |
ubuntu-03 | |
ubuntu-04 | |
[haproxy] | |
ubuntu-01 | |
ubuntu-02 |
root@ubuntu-01:~# cat /etc/consul.d/web.json | |
{"service": {"name": "web", "tags": ["rails"], "port": 80}} | |
root@ubuntu-01:~# consul agent -server -data-dir=/data/consul -config-dir=/etc/consul.d -bind=192.168.65.2 -bootstrap -log-level=debug | |
==> WARNING: Bootstrap mode enabled! Do not enable unless necessary | |
==> WARNING: It is highly recommended to set GOMAXPROCS higher than 1 | |
==> Starting Consul agent... | |
==> Starting Consul agent RPC... | |
==> Consul agent running! | |
Node name: 'ubuntu-01' | |
Datacenter: 'dc1' |
vagrant@ubuntu-01:~$ ./consul agent -server -data-dir=./logs -bind=192.168.65.2 -bootstrap | |
==> WARNING: Bootstrap mode enabled! Do not enable unless necessary | |
==> WARNING: It is highly recommended to set GOMAXPROCS higher than 1 | |
==> Starting Consul agent... | |
==> Starting Consul agent RPC... | |
==> Consul agent running! | |
Node name: 'ubuntu-01' | |
Datacenter: 'dc1' | |
Server: true (bootstrap: true) | |
Client Addr: 127.0.0.1 (HTTP: 8500, DNS: 8600, RPC: 8400) |
I hereby claim:
To claim this, I am signing this object: