AWS セキュリティグループを管理するための Terraform モジュール。現在、ingress および egress ルールは IPv4、IPv6、およびセキュリティグループ ID の入力をサポートしています。
要件
プロバイダー
モジュール
モジュールはありません。
リソース
入力
| 名前 | 説明 | 型 | デフォルト値 | 必須 |
|---|
| application_name | セキュリティグループの命名に使用するアプリケーション名。 | string | n/a | yes |
| egresses_ip | セキュリティグループの IP ベースの egress ルールのマップ。各キーはルールの説明で、値はルール設定を含むオブジェクトです。 | map(object({ from_port = number to_port = number protocol = string cidrs = list(string) cidrs_ipv6 = list(string) })) | {} | no |
| egresses_sg | セキュリティグループのセキュリティグループベースの egress ルールのマップ。各キーはルールの説明で、値はルール設定を含むオブジェクトです。 | map(object({ from_port = number to_port = number protocol = string sg_id = string })) | {} | no |
| ingresses_ip | セキュリティグループの IP ベースの ingress ルールのマップ。各キーはルールの説明で、値はルール設定を含むオブジェクトです。 | map(object({ from_port = number to_port = number protocol = string cidrs = list(string) cidrs_ipv6 = list(string) })) | {} | no |
| ingresses_sg | セキュリティグループのセキュリティグループベースの ingress ルールのマップ。各キーはルールの説明で、値はルール設定を含むオブジェクトです。 | map(object({ from_port = number to_port = number protocol = string sg_id = string })) | {} | no |
| vpc_id | セキュリティグループをアタッチする VPC ID。 | string | n/a | yes |
出力