
AWS CloudFormation が IaC ジェネレーターでターゲットリソーススキャンをサポートするようになりました
本記事は、2025 年 3 月 27 日にAWS公式サイトの What’s New with AWS? に掲載された英語記事を自動翻訳したものです。
ニュース内容
本日、AWS CloudFormation は、CloudFormation IaC ジェネレーターの新しいリソーススキャンワークフローを導入しました。これにより、AWS アカウント内の既存のリソースの Infrastructure-as-Code (IaC) テンプレートを生成するプロセスがさらに簡素化されます。
IaC ジェネレーターを使用すると、3 つの簡単な手順で既存のリソースを CloudFormation にオンボードできます。まず、AWS アカウント内のリソースのスキャンを開始します。次に、テンプレート生成用のリソースを選択し、関連リソースの提案を確認します。
3 番目に、選択したリソースの CloudFormation テンプレートが生成されます。その後、リソースを CloudFormation スタックにインポートしたり、テンプレートをダウンロードしてデプロイしたり、TypeScript や Python などの好みのプログラミング言語でテンプレートを CDK アプリに変換したりできます。
今回のリリースにより、リソーススキャン手順で IaC ジェネレーターがカバーするリソースタイプを指定できます。デフォルトですべてのリソースをスキャンする代わりに、ワークロードに関連するリソースのみに焦点を当てることができるため、スキャンの時間と労力を削減できます。これにより、テンプレート生成プロセスの効率が向上し、プロトタイプワークロードの CloudFormation への移行などの反復的なワークフローが合理化されます。
開始するには、AWS CloudFormation コンソールを開き、ナビゲーション パネルで IaC ジェネレーターを選択します。AWS CLI および AWS SDK から IaC ジェネレーターを使用することもできます。
IaC ジェネレーターは、CloudFormation が利用可能な AWS リージョンで利用できます。
原文
Today, AWS CloudFormation introduced a new resource scanning workflow for the CloudFormation IaC generator, further simplifying the process of generating Infrastructure-as-Code (IaC) templates for existing resources in your AWS account. IaC generator allows you to onboard existing resources to CloudFormation in three easy steps. First, you initiate a scan of resources in your AWS account. Second, you select resources for template generation and review suggestions for related resources. Third, a CloudFormation template is generated for selected resources. You can then import resources into a CloudFormation stack, download the template for deployment, or convert the template into a CDK app in your preferred programming language, such as TypeScript or Python.
With this launch, you can specify the resource types that IaC generator will cover in the resource scanning step. Instead of scanning all resources by default, you can now focus only on the resources relevant to your workload, reducing scan time and effort. This improves the efficiency of the template generation process and streamlines iterative workflows, such as migration of a prototype workload to CloudFormation.
To get started, open the AWS CloudFormation Console and select IaC generator in the navigation panel. You can also use IaC generator from the AWS CLI and AWS SDK. Learn more:The IaC generator is available in AWS Regions where CloudFormation is available.
引用元:AWS CloudFormation now supports targeted resource scans in the IaC generator