Slide 15
Slide 15 text
© 2024, Amazon Web Services, Inc. or its affiliates.
(補⾜)IaC の⽣成から 実際に利⽤できるまでの流れ
15
• 既存リソースのスキャン時に, 各リソース
に対してリソースのタイプ,物理名,論理ID,
CFn の管理有無の定義を作成
• スタックのインポート時に既存リソース
との紐付けで利⽤
{
"Resources": [
{
"ResourceType": "AWS::EKS::Cluster",
"ResourceIdentifier": {
"ClusterName": "exampleResourceCluster"
}
},
"ManagedByStack": false
list-resource-scan-resources の出⼒結果
既存リソースの
スキャン
対象リソースの
選択
関連リソースの
選択
テンプレート
⽣成
スタックの
インポート