###Rails apps to AWS Elastic Beanstalk through CircleCI.
On Project Settings > Environment Variables add this keys:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
The aws user must have the right permissions. This can be hard, maybe, this can help you.
adasd |
var http = require('https'); | |
var querystring = require('querystring'); | |
// set the post request options | |
var reqOptions = { | |
hostname: 'hooks.slack.com', | |
port: 443, | |
path: '/services/YOUR/SLACK/HOOK_HERE', | |
method: 'POST' | |
}; |
###Rails apps to AWS Elastic Beanstalk through CircleCI.
On Project Settings > Environment Variables add this keys:
# Written by Dane Fetterman on 12/1/2016 | |
# https://aws.amazon.com/blogs/compute/monitor-cluster-state-with-amazon-ecs-event-stream/ | |
# Where they use a cloud watch event from ECS to notify a SNS topic. We're | |
# sending a notification directly to slack instead | |
import requests | |
import json | |
from boto3 import session, client |
заходим в news feed preferences
Unfollow
Скроллим до упора вниз
Выполняем в консоли
var a = document.querySelectorAll('[aria-label$="Following"]');
#!groovy | |
import groovy.json.JsonOutput | |
import groovy.json.JsonSlurper | |
/* | |
Please make sure to add the following environment variables: | |
HEROKU_PREVIEW=<your heroku preview app> | |
HEROKU_PREPRODUCTION=<your heroku pre-production app> | |
HEROKU_PRODUCTION=<your heroku production app> |
Import-Module -Name AWSPowerShell | |
Set-DefaultAWSRegion 'ap-southeast-1' | |
$numberOfDays = 7 | |
$fileName = ('Gateways-' + (get-date -f yyyy-MM-dd-HH-mm-s) + '.html') | |
$reportLocation = Join-Path (Get-Location).path $fileName | |
$withMetrics = @() | |
$Header = @" |
ms at ms in ~/Documents/src/bitbucket/sb/sb/sb-mono/infra/live/accounts/sb-dev/ap-southeast-1/dev/vpc (add-terraform-template●●) | |
$ TF_LOG=trace AWS_PROFILE=sb-dev@ms terragrunt plan --terragrunt-iam-role arn:aws:iam::##REPLACED_AWS_ACCOUNT_ID##:role/Terragrunt >> assume.log | |
[terragrunt] [/Users/ms/Documents/src/bitbucket/sb/sb/sb-mono/infra/live/accounts/sb-dev/ap-southeast-1/dev/vpc] 2019/02/04 12:47:39 Running command: terraform --version | |
[terragrunt] 2019/02/04 12:47:39 Reading Terragrunt config file at /Users/ms/Documents/src/bitbucket/sb/sb/sb-mono/infra/live/accounts/sb-dev/ap-southeast-1/dev/vpc/terraform.tfvars | |
[terragrunt] 2019/02/04 12:47:41 Assuming IAM role arn:aws:iam::##REPLACED_AWS_ACCOUNT_ID##:role/Terragrunt | |
[terragrunt] 2019/02/04 12:47:41 WARNING: no double-slash (//) found in source URL /terraform-aws-modules/terraform-aws-vpc.git. Relative paths in downloaded Terraform code may not work. | |
[terragrunt] 2019/02/04 12:47:41 Terraform files in /Users/ms/Documents/src/bitbucket/sb/sb/sb-mono/ |
{ | |
"basics": { | |
"name": "Maksim Skutin", | |
"label": "DevOps Engineer", | |
"picture": "https://en.gravatar.com/userimage/96649416/baa527120c21fdfd266f9f6c54934068.jpg?size=1200", | |
"email": "[email protected]", | |
"phone": "", | |
"website": "https://cv.maks.pw", | |
"summary": "Continuous progress on professional and personal fronts through all round skills with emphasis on assigned targets.", | |
"location": { |