2019-05-01から1ヶ月間の記事一覧

AWS IAM Role権限のポリシー

環境によってはIAMのフル権限がもらえないので、ロール周りの設定ができるポリシーを作成してアタッチしてもらう。 Resourceは適宜変更。 { "Version": "2012-10-17", "Statement": [ { "Sid": "VisualEditor0", "Effect": "Allow", "Action": [ "iam:Create…

Terraform ElasticBeanstalkのアプリケーション HTTP 4xx ステータスコードを無視する設定

ConfigDocumentにルールを記載したJSONドキュメントを設定する必要がある。 setting { namespace = "aws:elasticbeanstalk:healthreporting:system" name = "SystemType" value = "enhanced" } setting { namespace = "aws:elasticbeanstalk:healthreporting…

Terraform Elastic Beanstalk環境のsolution_stack_name一覧を取得する

Elastic Beanstalkの環境で指定可能なプラットフォーム一覧を取得する。 resource "aws_elastic_beanstalk_environment" "tfenvtest" { name = "tf-test-name" application = "${aws_elastic_beanstalk_application.tftest.name}" solution_stack_name = "64…