[baskar@Hercules profiles]$ curl -v http://httpbin.org/get
curl: (6) Could not resolve host: httpbin.org
<Quota async="false" continueOnError="false" enabled="true" name="QuotaPolicy" type="calendar"> | |
<DisplayName>Quota 3</DisplayName> | |
<Allow count="2000" countRef="request.header.allowed_quota"/> | |
<Interval ref="request.header.quota_count">1</Interval> | |
<Distributed>false</Distributed> | |
<Synchronous>false</Synchronous> | |
<TimeUnit ref="request.header.quota_timeout">month</TimeUnit> | |
<StartTime>2014-7-16 12:00:00</StartTime> | |
<Identifier/> | |
<MessageWeight ref="client.received.content.length"/> |
[baskar@Hercules profiles]$ curl -v http://httpbin.org/get
curl: (6) Could not resolve host: httpbin.org
### | |
# THIS NGINX IS TUNED FOR PERFORMANCE | |
### | |
#user nobody; | |
worker_processes 8; | |
worker_rlimit_nofile 100000; | |
events { |
#user nobody; | |
worker_processes 8; | |
worker_rlimit_nofile 100000; | |
events { | |
worker_connections 4000; | |
# optmized to serve many clients with each thread, essential for linux | |
use epoll; |
# Set this if the PATH is different for sudo. | |
alias sudo='sudo env PATH=$PATH' |
<Flow name="UseCase1"> | |
<!-- Cassandra Heavy! --> | |
<Request> | |
<Step> | |
<FaultRules/> | |
<Name>ValidateKey</Name> | |
<Condition>request.queryparam._excludeVerify != "false"</Condition> | |
</Step> | |
<Step> |
[root@ip-10-17-6-4 ~]# curl -s http://169.254.169.254/latest/meta-data/ami-id | |
ami-4444c72c | |
====================================================================================================== | |
[root@ip-10-17-6-4 ~]# cat /etc/*rel* | |
CentOS Linux release 7.0.1406 (Core) | |
cat: /etc/lsb-release.d: Is a directory | |
NAME="CentOS Linux" | |
VERSION="7 (Core)" | |
ID="centos" | |
ID_LIKE="rhel fedora" |
export X_BLUE="\033[0;34m" | |
export X_BOLD="\033[1m" | |
export X_CYAN="\033[1;36m" | |
export X_GREEN="\033[0;32m" | |
export X_NC="\033[0m" | |
export X_RED="\033[0;31m" | |
export X_YELLOW="\033[1;33m" | |
## |
resource "aws_iam_role" "role" { | |
name = "test_role" | |
assume_role_policy = "${data.aws_iam_policy_document.ec2-principal.json}" | |
} | |
resource "aws_iam_instance_profile" "test_profile" { | |
name = "test_profile" | |
role = "${aws_iam_role.role.name}" | |
} |
[iam/terraform] (master) >>> terraform validate | |
2017/04/24 12:11:12 [INFO] Terraform version: 0.9.3 1601af7a076fd03fe940455db7fd01dfa747c795 | |
2017/04/24 12:11:12 [INFO] Go runtime version: go1.8 | |
2017/04/24 12:11:12 [INFO] CLI args: []string{"$HOME/bin/terraform", "validate"} | |
2017/04/24 12:11:12 [DEBUG] Detected home directory from env var: $HOME | |
2017/04/24 12:11:12 [DEBUG] Detected home directory from env var: $HOME | |
2017/04/24 12:11:12 [DEBUG] Attempting to open CLI config file: $HOME/.terraformrc | |
2017/04/24 12:11:12 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2017/04/24 12:11:12 [DEBUG] Detected home directory from env var: $HOME | |
2017/04/24 12:11:12 [INFO] CLI command args: []string{"validate"} |