Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
state_machine_arns=$(aws stepfunctions list-state-machines | jq -r .stateMachines[].stateMachineArn)
for state_machine_arn in ${state_machine_arns}; do
echo "{ $(aws stepfunctions describe-state-machine --state-machine-arn ${state_machine_arn} \
| jq -r .definition \
| jq . \
| grep TaskDefinition) }" \
| jq -r .TaskDefinition
resource "aws_acm_certificate" "mizzy_org" {
provider = aws.us-east-1
domain_name = "mizzy.org"
validation_method = "EMAIL"
}
resource "aws_cloudfront_distribution" "mizzy_org" {
enabled = true
aliases = ["mizzy.org"]
#!/usr/bin/env ruby
require 'json'
require 'aws-sdk-ec2'
ec2 = Aws::EC2::Client.new
res = ec2.describe_security_groups
security_groups = res.security_groups
_, err := cloudwatch.NewLogGroup(ctx, "sock_shop", &cloudwatch.LogGroupArgs{
Name: pulumi.String("sock-shop"),
RetentionInDays: pulumi.Int(7),
}, pulumi.Import(pulumi.ID("sock-shop"))
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudwatch.NewLogGroup(ctx, "sock_shop", &cloudwatch.LogGroupArgs{
--- ../../../markfink-splunk/sock-shop/ecs-fargate/cfn-stack-app-only.yaml 2021-09-17 19:50:03.000000000 +0900
+++ ./cfn-stack-app-only.yaml 2021-10-01 21:57:26.000000000 +0900
@@ -35,6 +35,7 @@
Description: >-
Name of an existing EC2 KeyPair to enable SSH access to the SQLImporter
EC2 instance (if none appear in drop-down menu, you need to create one)
+ Default: sock-shop-cloudformation
MinLength: '1'
ConstraintDescription: must be the name of an existing EC2 KeyPair.
Resources:
@mizzy
mizzy / achievement.md
Last active December 29, 2020 23:24
宮下 剛輔の研究・開発業績

宮下 剛輔の研究・開発業績

論文・発表・受賞歴

受賞

  1. 宮下 剛輔, 第10回 日本OSS奨励賞, 昨今要求が高まっているシステム配備の自動化の実現に欠かすことができないサーバの状態を自動的にテストするツールServerspecを開発し、インフラ分野における業務の効率化に貢献, 2015年10月
  2. 宮下 剛輔, Black Duck Open Source Rookies of the Year 2013, 2013年に始まったオープンソースプロジェクトの中で優れたもの10種の中にServerspecが選出, 2014年1月
package main
import (
"fmt"
"log"
gohcl2 "github.com/hashicorp/hcl/v2/gohcl"
hcl2parse "github.com/hashicorp/hcl/v2/hclparse"
)
package main
import (
"fmt"
"io/ioutil"
"log"
"regexp"
"strings"
gohcl2 "github.com/hashicorp/hcl/v2/gohcl"