Testing and Deployment

A developer wants Kiro to help create a repeatable staging environment from written requirements. Which approach best combines AI assistance with controlled provisioning?

Show the answer

Correct answerD. Generate a template with Kiro, then validate and review its change set

AWhy not this: An approval action gates pipeline progression but does not translate requirements into infrastructure.

BWhy not this: CloudFormation requires a valid template; it does not interpret prose requirements as infrastructure definitions.

CWhy not this: An AppSpec file describes application deployment instructions, not general environment provisioning.

DWhy this is right: AI-assisted template authoring followed by validation and change-set review supports repeatable, controlled provisioning.

Kiro, the AWS AI-assisted IDE, can help author infrastructure templates such as CloudFormation templates, which should be validated and their change sets reviewed before deployment. An AppSpec file controls application deployment behavior; it does not define a complete infrastructure environment.