- 宮下 剛輔, 第10回 日本OSS奨励賞, 昨今要求が高まっているシステム配備の自動化の実現に欠かすことができないサーバの状態を自動的にテストするツールServerspecを開発し、インフラ分野における業務の効率化に貢献, 2015年10月
- 宮下 剛輔, Black Duck Open Source Rookies of the Year 2013, 2013年に始まったオープンソースプロジェクトの中で優れたもの10種の中にServerspecが選出, 2014年1月
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
#!/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 |
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
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"] |
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 ruby | |
require 'json' | |
require 'aws-sdk-ec2' | |
ec2 = Aws::EC2::Client.new | |
res = ec2.describe_security_groups | |
security_groups = res.security_groups |
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
_, err := cloudwatch.NewLogGroup(ctx, "sock_shop", &cloudwatch.LogGroupArgs{ | |
Name: pulumi.String("sock-shop"), | |
RetentionInDays: pulumi.Int(7), | |
}, pulumi.Import(pulumi.ID("sock-shop")) |
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
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{ |
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
--- ../../../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: |
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
package main | |
import ( | |
"fmt" | |
"log" | |
gohcl2 "github.com/hashicorp/hcl/v2/gohcl" | |
hcl2parse "github.com/hashicorp/hcl/v2/hclparse" | |
) |
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
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"log" | |
"regexp" | |
"strings" | |
gohcl2 "github.com/hashicorp/hcl/v2/gohcl" |
NewerOlder