AWS cli medium security documentation change
Summary
Updated CLI version references from 2.31.35 to 2.31.37. Added guidance about using AWS::LanguageExtensions transform and avoiding UsePreviousTemplate. Improved documentation clarity for Parameter data type and resource type permissions.
Security assessment
The change adds security guidance about properly applying parameter values and Systems Manager parameter updates when using AWS::LanguageExtensions transform, which helps prevent misconfigurations that could lead to insecure stack deployments. The warning about avoiding UsePreviousTemplate suggests there might be security risks in reusing previous templates without updates.
Diff
diff --git a/cli/latest/reference/cloudformation/update-stack.md b/cli/latest/reference/cloudformation/update-stack.md index 795cda783..3c141fc7e 100644 --- a//cli/latest/reference/cloudformation/update-stack.md +++ b//cli/latest/reference/cloudformation/update-stack.md @@ -15 +15 @@ - * [AWS CLI 2.31.35 Command Reference](../../index.html) » + * [AWS CLI 2.31.37 Command Reference](../../index.html) » @@ -146,0 +147,2 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/cloudf +> When using templates with the `AWS::LanguageExtensions` transform, provide the template instead of using `UsePreviousTemplate` to ensure new parameter values and Systems Manager parameter updates are applied correctly. For more information, see [AWS::LanguageExtensions transform](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/transform-aws-languageextensions.html) . +> @@ -183 +185 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/cloudf ->> The Parameter data type. +>> The `Parameter` data type. @@ -279 +281 @@ Syntax: -> The template resource types that you have permissions to work with for this update stack action, such as `AWS::EC2::Instance` , `AWS::EC2::*` , or `Custom::MyCustomInstance` . +> Specifies which resource types you can work with, such as `AWS::EC2::Instance` or `Custom::MyCustomInstance` . @@ -281 +283 @@ Syntax: -> If the list of resource types doesn’t include a resource that you’re updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see [Control access with Identity and Access Management](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html) . +> If the list of resource types doesn’t include a resource that you’re updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see [Control CloudFormation access with Identity and Access Management](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html) . @@ -664 +666 @@ StackId -> (string) - * [AWS CLI 2.31.35 Command Reference](../../index.html) » + * [AWS CLI 2.31.37 Command Reference](../../index.html) »