by shigemk2

当面は技術的なことしか書かない

AWS

terraform-provider-aws 5.28.0

機能追加 新しいdata: aws_s3_directory_buckets 新しいresource: aws_s3_directory_bucket 機能強化 resource/aws_s3control_access_grants_instance に identity_center_arn 引数と identity_center_application_arn 属性を追加 バグ修正 resource/aws_ela…

aws_lambda_event_source_mapping

AWS Lambda トリガーを作成して、DynamoDB テーブルからのストリーミングを処理するやつをTerraformで再現しようとすると こういう感じの書き方になるけれど resource "aws_lambda_event_source_mapping" "example" { event_source_arn = aws_dynamodb_table…

Error refreshing state: state data in S3 does not have the expected content.

AWS

バックエンドがS3で、ロック管理でDynamoDBを使ってるのが前提で、stateのkeyを変更したかった。 でもkeyを変更すると同一リソースを管理するstateが二重に存在することになってplan結果がaddとdestroyが混在する形となったので、key変更前のS3のtfstateファ…

terraform-provider-aws 5.27.0

注意: AWS SDK for Go v2のアップデート。影響を受けるサービス: internetmonitor, ivschat, pipes, s3。既定値の引数のシリアライズ方法の変更 新機能: 新データソース: aws_emr_supported_instance_types 新リソース: aws_apprunner_default_auto_scaling_…

Step Function RunTask taskDefinition

AWS

The family and revision (family:revision) or full ARN of the task definition to run. If a revision isn't specified, the latest ACTIVE revision is used. ってあるんで、リビジョン指定しなかったらlatestでOK docs.aws.amazon.com

External endpoints AWS Step Functions

AWS

HTTPSエンドポイント 多分目玉 第三者API、外部サービスとの統合を容易に Stripe、GitHub、Salesforceなど既存SaaSプロバイダとの連携 AWS Lambda関数不要に タスクステートのテスト ステートマシンのデプロイや実行なしで個別テスト可能 一般機能 分散アプ…

aws_elb/aws_lb

CLBがaws_elbで、ALBやNLBはaws_lb registry.terraform.io

data/aws_dax_cluster

resource/aws_dax_clusterはあるけれど、data/aws_dax_clusterはまだない。需要はあるんだけど実装の気配が全くない… data "aws_dax_cluster" "cluster" { name = "${var.env}-dax-cluster" } github.com

awscli 2.13.38

AWS

trustedadvisor: AWSトラステッドアドバイザーの新API導入。ベストプラクティスチェック、推奨事項、優先推奨事項へのプログラムアクセス可能。 mgn: 無効かつ不要なデフォルト値削除。 kinesisvideo: ドキュメントのみのビルド、公開ドキュメントとの整合性…

r/aws_route_table_association

AWS

ルートテーブルと、サブネット/IGWのassociationを定義する registry.terraform.io

Amazon ECS Agent v1.79.1

AWS

Amazon ECS Agent v1.79.1の変更点 機能強化 golang.org/x/netをv0.17.0に更新 google.golang.org/grpcを1.56.3に更新 containerdプラットフォーム用に通常のENIとブランチENIの設定を実装 ecs-agent/AttachmentStateChangeでENIを切り離し バグ修正 EBS CSI…

awscli 2.13.37

AWS

api変更:polly: 長文向け新エンジン追加。ニュース記事、教材、マーケティング動画等。 api変更:codecatalyst: ワークフロー情報、ワークフロー実行情報取得、Amazon CodeCatalystでのワークフロー実行開始機能。 api変更:kafka: クラスターに関する顧客のア…

awscli 2.13.36

AWS

API変更: iot API CreateSecurityProfile, UpdateSecurityProfile, DescribeSecurityProfileに新属性追加 AWS IoT Device Defender Detectのメトリクスエクスポート管理サポート API変更: pipes Amazon CloudWatch Logs, Amazon S3, Amazon Kinesis Data Fir…

awscli 2.13.35

AWS

awscrtのバージョン範囲の上限を0.19.12に更新 github.com

r/aws_route_table vs r/aws_route

Terraform currently provides both a standalone Route resource and a Route Table resource with routes defined in-line. At this time you cannot use a Route Table with in-line routes in conjunction with any Route resources. Doing so will caus…

Terraform aws_dax_cluster

AWS

resource aws_dax_clusterのことをr/aws_dax_clusterと略しても通じる data source aws_dax_clusterはまだ無い(5.25.0) github.com

VPCE ENIとサブネット

AWS

確かに (Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to create endpoint network interfaces. For a Gateway Load Balancer endpoint, you can specify only one subnet. って書いてあるし、実際インターフェイスVPCE…

VPC間接続で他VPCのセキュリティグループID参照ができるケース + Terraform

SGはVPCに紐づいているので、VPCピアリングで繋いでやってからSGを指定する VPCピアリング SGのインバウンドルール設定 dev.classmethod.jp で、VPCピアリングはともかく、SGのインバウンドルール設定をTerraformで実現しようとすると、他アカウントのSGを参…

awscli 2.13.34

AWS

api変更: connectcases: CreateRelatedItemとSearchRelatedItems APIを通じてコメント著者の追加/表示機能追加 api変更: datasync: オブジェクトストレージロケーションに対する長さ0のアクセスキーとシークレットキーを許可 api変更: ec2: AWS EBSでEBSスナ…

awscli 2.13.33

AWS

dataexchangeのAPI変更: SendDataSetNotificationRequestコメントの最大長を4096に更新。 launch-wizardのAPI変更: AWS Launch Wizardにより、クラウドへのアプリケーションデプロイ時間の短縮とガイド付きデプロイメント体験の提供。 dlmのAPI変更: Amazon …

Amazon ECS Agent v1.79.0

AWS

XenインスタンスのEBSデバイス検出サポート追加 ネットワークビルダーとプラットフォームAPI追加 スタートアップ時間短縮のためのデーモンイメージのバックグラウンド読み込み ECSクライアントAPIの更新 Golangバージョンを1.20.10にアップグレード ECSイン…

ACM検証タイムアウト

AWS

During DNS validation, ACM searches for a CNAME in a publicly hosted zone. When it doesn't find one, it times out after 72 hours with a status of Validation timed out. You cannot use it to host DNS records for private domains, including re…

RFC 1034 メモ

When a user needs to type a domain name, the length of each label is omitted and the labels are separated by dots ("."). Since a complete domain name ends with the root label, this leads to a printed form which ends in a dot. We use this p…

aws_ecs_task_definitionのcontainer_definitions

jsonencodeでもfileでもいい なおTerraform自体がGoベースで、jsonencodeのところでterraform planに失敗したらGoなエラーログが出てくるので、Goの知識が多少必要 registry.terraform.io

awscli 2.13.32

AWS

api変更: sagemaker: モデルダッシュボードでのバッチ変換入力サポート api変更: network-firewall: 無状態ルールアナライザー導入、非対称ルーティングの無状態ルールを分析可能 api変更: quicksight: QuickSight SPICEデータセットのFloat Decimal Typeサ…

awscli 2.13.31

AWS

api変更: mediapackagev2: すべてのegressリクエストにデフォルトで適用されるマニフェストフィルタリング、startover、タイムディレイ設定の組み合わせを作成可能 api変更: neptunedata: CancelledByUserExceptionの再試行をしないようにマイナーチェンジ a…

awscli 2.13.30

AWS

api変更: groundstation: Mission Profiles作成時にKMSエイリアス名使用可能 api変更: endpoint-rules: endpoint-rulesコマンドを最新版に更新 api変更: opensearch: クラスターエンドポイントにipv4またはdualstack IPAddressType指定可能 api変更: connect…

RegisterScalableTargetInputのRoleArn

サービスリンクロールに対応してるサービスならRoleArnは不要だが、EMRみたいにサービスリンクロール未対応ならRoleArnが必要。 // This parameter is required for services that do not support service-linked // roles (such as Amazon EMR), and it mus…

aws_lb

まずCreateLoadBalancerしてから、削除保護やアクセスログの設定などについてModifyLoadBalancerAttributes感じの流れ registry.terraform.io なおS3アクセスログの設定をしたいのであれば、以下に沿ってバケットポリシーの設定をしてやらないと、対象S3バケ…

How Application Auto Scaling works with IAM

AWS

サービスリンクされたロールは、AWSサービスにリンクされたサービスロールの一種で、勝手に作られる docs.aws.amazon.com docs.aws.amazon.com