`aws ssm get-parameter --name /prod/db/password` returns an encrypted blob instead of the password.
BeginnerTroubleshootingCloudFormation, CloudWatch, KMS, Secrets and Cost
Answer
Likely causes → The parameter is a SecureString, and the call did not ask for decryption. If you add the flag and get AccessDeniedException, the caller has no kms:Decrypt on the key.
Diagnose →
aws ssm describe-parameters --parameter-filters Key=Name,Values=/prod/db/password --query 'Parameters[].[Type,KeyId]'
Fix →
aws ssm get-parameter --name /prod/db/password --with-decryption --query Parameter.Value --output text
aws ssm get-parameters-by-path --path /prod/db --recursive --with-decryption
Grant ssm:GetParameter* on arn:aws:ssm:...:parameter/prod/db/* and kms:Decrypt on the key.
Prevent → Scope parameter access by path per service, and use ParameterNotFound checks in startup code so missing config fails fast.
More on CloudFormation, CloudWatch, KMS, Secrets and Cost
Updating a stack fails: `Stack:arn:aws:cloudformation:...:stack/app/... is in ROLLBACK_COMPLETE state and can not be updated.`BeginnerA stack is stuck in `UPDATE_ROLLBACK_FAILED`.AdvancedA pipeline fails with `An error occurred (ValidationError) when calling the UpdateStack operation: No updates are to be performed.`Beginner`InsufficientCapabilitiesException: Requires capabilities : [CAPABILITY_NAMED_IAM]`.BeginnerStack deletion ends in `DELETE_FAILED` with `The bucket you tried to delete is not empty` on an S3 bucket resource.IntermediateDrift detection shows `MODIFIED` on a security group and an RDS instance that someone changed in the console. How do you reconcile?Advanced