by shigemk2

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

CloudFormation 2つのセキュリティグループを相互参照

のとこと

インバウンドおよびアウトバウンドルールにおいて2つのセキュリティグループを相互参照するには、AWS::EC2::SecurityGroupEgressリソースとAWS::EC2::SecurityGroupIngressリソースを使用してルールを定義してください。AWS::EC2::SecurityGroupリソースに組み込まれたインバウンドおよびアウトバウンドルールを使用しないでください。これにより循環依存関係が生じ、CloudFormationでは許可されません。

docs.aws.amazon.com

AWS::EC2::SubnetRouteTableAssociation

サブネットとルートテーブルの紐付け 単一ルートテーブルで複数のサブネットを紐づけられる RouteTableId SubnetId いずれもUpdate requires: Replacement

AWS::EC2::Subnetに直接書かせるようにしないことでシンプルな論理ブロックにすることを目論んでいるのだと思われる

Associates a subnet with a route table. The subnet and route table must be in the same VPC. This association causes traffic originating from the subnet to be routed according to the routes in the route table. A route table can be associated with multiple subnets. To create a route table, see AWS::EC2::RouteTable.

docs.aws.amazon.com

iTerm2 Initial Directory

iTerm2のドキュメント、恐ろしくあっさりしている

Initial Directory Normally, new sessions begin in your home directory. You can choose to open new sessions in the same directory as the current session (but only when creating a new tab), or you can specify a starting directory.

Advanced ConfigurationでNew Windows/New Tabs/Split Panesの時のディレクトリも調整できる qiita.com

iterm2.com

インターネットゲートウェイ

  • VPC とインターネットとの間の通信を可能にするVPC コンポーネント
  • サブネットに関連付けられているルートテーブルにインターネットゲートウェイへのルートがある場合、そのサブネットは「パブリックサブネット」となる
  • インターネットゲートウェイへのルートを持たないルートテーブルに関連付けられているサブネットは、「プライベートサブネット」となる
  • NATゲートウェイみたいに存在するだけで課金されないがデータ転送で料金は発生する

docs.aws.amazon.com

awscli 2.32.34

  • api-change:datazone: CreateSubscriptionRequest API 経由で、Glue テーブル一覧に IAM ロールのサブスクリプションサポートを追加した。また、List API に owningIamPrincipalArn フィルターを追加し、サブスクリプション対象 API に grant 作成動作を制御する subscriptionGrantCreationMode パラメータを追加した。
  • api-change:bedrock: この変更により、TestCaseのguardContent入力サイズが1024文字から2028文字に、PolicyBuildDocumentDescriptionが2000文字から4000文字に増加する。

awscli 2.32.33

  • api-change:iot-managed-integrations: 本リリースではWiFi Simple Setup (WSS)を導入した。これにより、バーコードスキャンによるデバイスプロビジョニングが可能となり、ネットワーク検出、認証、認証情報のプロビジョニングが自動化される。さらに、オンボーディング後のハブ管理デバイス機能更新のための2Pデバイス機能再検出機能を導入した。
  • enhancement:s3: 新しいパラメータ --case-conflict を追加した。これは大文字小文字を区別しないファイルシステム上で、大文字小文字の競合をどのように扱うかを設定するものである
  • api-change:sagemaker: UltraServerInfo構造体にultraServerTypeを追加した。これはSageMaker HyperPodのサーバータイプ識別をサポートするためである
  • api-change:billing: 新規パラメータcostCategoriesにより、BillingViewデータフィルター式へのコストカテゴリフィルタリングをサポート。これによりユーザーはAWSコストカテゴリで請求ビューをフィルタリングでき、より詳細なコスト管理と配分が可能となる。

iterm2 broadcast input

これらのオプションにより、キーボード入力を複数のセッションに送信する(公式ですらbe carefulって言ってるので、意図せず本番サーバーでゴニョゴニョしてました〜みたいな事故に本当に気をつけること)

Shell > Broadcast Input > ...
These options allow you to send keyboard input to more than one session. Be careful.

Send input to current session only: The default setting.
Broadcast to all panes in all tabs: Anything you type on the keyboard goes to all sessions in this window.
Broadcast to all panes in current tab: Anything you type on the keyboard goes to all sessions in this tab.
Toggle broadcast input to current session: Toggles whether this session receives broadcasted keystrokes within this window.
Show Background Pattern Indicator: If selected, sessions receiving broadcast input get an obnoxious red-stripe background.

BI起動中背景を赤ストライプにするやつをつけておくといい

Show Background Pattern Indicator: If selected, sessions receiving broadcast input get an obnoxious red-stripe background.

iterm2.com

qiita.com