CloudFormation "No Updates Are to Be Performed": Why Your Pipeline Fails on an Unchanged Stack, the Flag Already Default in AWS CLI v2, and the Changes CloudFormation Ignores

Logeshwaran
—

"No updates are to be performed" is the message CloudFormation returns when you ask it to update a stack but nothing in your request differs from what's already deployed. Nothing is broken and nothing in your stack changed; CloudFormation simply refused to start an update with no work in it. The fix depends on which command printed it. With aws cloudformation update-stack, it's a ValidationError your script has to treat as success. With aws cloudformation deploy on AWS CLI v1, or with sam deploy, you add --no-fail-on-empty-changeset. Here's the surprise: on AWS CLI v2, that famous flag is already the default. CLI v2's deploy prints "No changes to deploy" and exits with code 0, so if your pipeline still fails, it's running CLI v1, sam deploy, raw update-stack, or an old GitHub Action. And if you did change something and still got this message, CloudFormation may be ignoring it on purpose: changes to Outputs, DeletionPolicy, UpdatePolicy or Conditions alone don't count as an update, and neither does new Lambda code uploaded to the same S3 key. This page covers every command's version of the message, safe ways to handle it in scripts and CI, the wait command that hangs for an hour afterward, and how to make CloudFormation see a change it's ignoring.

Ethan, a developer, deploys the booking app for his friend Jake's phone repair shop with CloudFormation, from a GitHub Actions pipeline. On Monday he added one small thing to the template: an Output that prints the booking API's address, so Jake could find it without asking. He pushed, and the pipeline went red with An error occurred (ValidationError) when calling the UpdateStack operation: No updates are to be performed. Jake saw the red badge and asked whether the booking page was down. It wasn't. But Ethan had two separate problems hiding behind one message, and this page is how he found both.

⚡ Quick Answer

• Is anything broken? No. The stack is unchanged and still running. What it means.

• Using aws cloudformation deploy? CLI v2 already exits 0 on no changes; on CLI v1 add --no-fail-on-empty-changeset. Check your version.

• Using update-stack? Catch this one message, not every ValidationError. Safe script.

• Changed something and still got it? Outputs, DeletionPolicy, UpdatePolicy, Conditions and same-key Lambda code don't count. The ignored changes.

• Pipeline stuck after it? wait stack-update-complete can hang for an hour. The waiter trap.

Worried the live stack drifted anyway? "No updates" doesn't mean no drift.

New to CloudFormation? Our plain-English guide to stacks explains templates, stacks and updates in a few minutes. Every step below starts from zero.

🧭 NEW HERE? READ THESE FIRST

New to CloudFormation and AWS errors? These five pages make the rest of this one easy:

📌 Bookmark this; the command table and the safe scripts are the parts you will come back for.

What "No updates are to be performed" actually means

When you update a stack, CloudFormation compares what you sent (the template and the parameter values) with what's already deployed. If nothing that drives a resource would change, there's nothing to do, and CloudFormation says so instead of running an empty update. Your stack keeps its current status, its resources are untouched, and nothing rolls back.

The same situation shows up in three different forms, depending on how you asked:

You ranWhat you seeExit code
aws cloudformation update-stackAn error occurred (ValidationError) when calling the UpdateStack operation: No updates are to be performed.254 (AWS CLI v2)
aws cloudformation create-change-setThe command succeeds, but the change set ends with status FAILED and reason The submitted information didn't contain changes. Submit different information to create a change set.0
aws cloudformation deployNo changes to deploy. Stack booking-app is up to date0 on CLI v2 by default; non-zero on CLI v1 by default

That last row is the one that confuses people the most, so it gets its own section next. First, four questions that tell you which kind of "no updates" you have:

  1. Which command printed it? Find the exact line in the log: update-stack, deploy, sam deploy, a change set step, or a CI action.
  2. Did you mean to change anything? If this run only re-deployed the same template, the message is correct, and the fix is to let your pipeline treat it as success.
  3. If you did change something, what was it? An Output, a DeletionPolicy, an UpdatePolicy, a Condition or the template's top-level Metadata on their own don't count, and neither does new code uploaded to the same S3 key. The ignored changes section has the fix.
  4. Is the pipeline failing on the message itself, or on a step after it? A wait command that runs after an empty update is a separate trap, covered in the waiter section.

Jake: "So red doesn't mean broken."

Ethan: "Red means the pipeline asked for an update and CloudFormation said there was nothing to update. The booking page never noticed."

aws cloudformation deploy: the flag that's already the default on CLI v2

aws cloudformation deploy is the friendly wrapper most pipelines use. It creates a change set, waits for it, and runs it. When the change set turns out to be empty, it prints:

Waiting for changeset to be created..

No changes to deploy. Stack booking-app is up to date

What happens next depends on your AWS CLI version:

ToolDefault on an empty change setChange it with
AWS CLI v2 aws cloudformation deployExit code 0 (success)--fail-on-empty-changeset to make it fail
AWS CLI v1 aws cloudformation deployNon-zero exit code (failure)--no-fail-on-empty-changeset to make it succeed
sam deploy (AWS SAM CLI)Non-zero exit code (failure)--no-fail-on-empty-changeset to make it succeed

That's why the advice "just add --no-fail-on-empty-changeset" sometimes seems to do nothing: on CLI v2 it was already the behavior. Check what your pipeline actually runs:

aws --version

A version starting with aws-cli/2. is v2; aws-cli/1. is v1. Then, whatever the version, write the flag you want explicitly so the pipeline behaves the same on every machine and doesn't change meaning after an upgrade:

aws cloudformation deploy \
  --template-file template.yaml \
  --stack-name booking-app \
  --no-fail-on-empty-changeset

The flag only covers the "nothing to change" case. A broken template, a missing permission or a resource that fails to create still fails the command, as it should. If your release process requires a real change, for example a job that must always update something, use --fail-on-empty-changeset instead and let the empty case fail on purpose.

For sam deploy, add the same flag to the command:

sam deploy --no-fail-on-empty-changeset

Calling update-stack directly: handle this one message, not every ValidationError

The lower-level aws cloudformation update-stack has no flag for this. It always returns the error, with exit code 254 on CLI v2, and your script has to decide what it means. The tempting fix is to ignore every ValidationError, or to put || true after the command. Don't. The same error code covers real mistakes, including a stack name with a typo:

An error occurred (ValidationError) when calling the UpdateStack operation: Stack with id booking-ap does not exist

Ignore every ValidationError and a misspelled stack name passes as "nothing to update" forever. Match the message instead, and only skip the wait when no update started:

deploy_stack() {
  local out rc
  out=$(aws cloudformation update-stack --stack-name "$1" \
        --template-body file://template.yaml 2>&1) && rc=0 || rc=$?
  if [ "$rc" -ne 0 ]; then
    if printf '%s' "$out" | grep -q "No updates are to be performed"; then
      echo "No changes: $1 is already up to date"
      return 0
    fi
    printf '%s\n' "$out" >&2
    return "$rc"
  fi
  aws cloudformation wait stack-update-complete --stack-name "$1"
}

deploy_stack booking-app

This returns 0 when there's nothing to do, waits for the update when one started, and still fails loudly, with the real message, for a typo, a bad template or a missing permission. Add --parameters or --capabilities to the update-stack line if your stack uses them.

Jake: "Why not just tell it to ignore that error?"

Ethan: "Because 'stack doesn't exist' wears the same label. Ignore the label, and one day a typo deploys nothing and the pipeline says everything's fine."

The wait command that hangs for an hour after "no updates"

A very common pipeline runs an update and then waits for it:

aws cloudformation update-stack --stack-name booking-app --template-body file://template.yaml || true
aws cloudformation wait stack-update-complete --stack-name booking-app

When there was nothing to update, the second line can sit there for an hour. The stack-update-complete waiter only succeeds when the stack status is UPDATE_COMPLETE, and it checks every 30 seconds, up to 120 times. A stack that has only ever been created is in CREATE_COMPLETE, and since no update started, it never reaches UPDATE_COMPLETE. The waiter keeps polling until it gives up with "Max attempts exceeded," and your CI job either times out or fails an hour later with an error that has nothing to do with your template.

The opposite surprise happens too. If the stack's last update rolled back, its status is UPDATE_ROLLBACK_COMPLETE, and the waiter treats that as a failure immediately, even though the stack is healthy and you changed nothing. Either way, the fix is the one in the script above: only wait when update-stack actually started an update.

The same check in Python (boto3)

import boto3
import botocore

cfn = boto3.client("cloudformation")


def update_if_changed(**kwargs):
    try:
        cfn.update_stack(**kwargs)
        return "updating"
    except botocore.exceptions.ClientError as e:
        err = e.response["Error"]
        if err["Code"] == "ValidationError" and "No updates are to be performed" in err["Message"]:
            return "no changes"
        raise


with open("template.yaml") as f:
    body = f.read()

if update_if_changed(StackName="booking-app", TemplateBody=body) == "updating":
    cfn.get_waiter("stack_update_complete").wait(StackName="booking-app")
else:
    print("booking-app is already up to date")

The function returns "no changes" for the empty update, "updating" when work started, and re-raises everything else, including a missing stack. Our boto3 error handling guide explains ClientError and why matching on the message is sometimes the only way to tell two errors with the same code apart.

GitHub Actions, CodeBuild and Jenkins

GitHub Actions with the AWS CLI

Run the CLI's deploy with the flag written out, so the job behaves the same whatever CLI version the runner has:

name: Deploy booking app

on:
  push:
    branches: [main]

permissions:
  id-token: write
  contents: read

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: aws-actions/configure-aws-credentials@v4
        with:
          role-to-assume: ${{ secrets.AWS_DEPLOY_ROLE_ARN }}
          aws-region: us-east-1
      - name: Deploy stack
        run: |
          aws --version
          aws cloudformation deploy \
            --template-file template.yaml \
            --stack-name booking-app \
            --no-fail-on-empty-changeset

The aws --version line costs nothing and saves guessing later when someone asks which CLI the runner used.

The aws-cloudformation-github-deploy action

If you use AWS's ready-made action instead of the CLI, the setting changed name between versions:

Action versionSettingDefault
aws-actions/aws-cloudformation-github-deploy@v1no-fail-on-empty-changeset: "1" to allow empty change sets"0": an empty change set fails the step
aws-actions/aws-cloudformation-github-deploy@v2fail-on-empty-changesetfalse: an empty change set doesn't fail the step

So a workflow still on v1 fails on every unchanged stack unless it sets no-fail-on-empty-changeset: "1". After upgrading to v2, that old setting is no longer a recognized input: the run shows an "Unexpected input" warning, and the action ignores it. Write the v2 setting explicitly so nobody has to remember which default applies:

      - name: Deploy stack
        uses: aws-actions/aws-cloudformation-github-deploy@v2
        with:
          name: booking-app
          template: template.yaml
          fail-on-empty-changeset: false

CodeBuild

In AWS CodeBuild, put the same command in buildspec.yml:

version: 0.2

phases:
  build:
    commands:
      - aws --version
      - aws cloudformation deploy --template-file template.yaml --stack-name booking-app --no-fail-on-empty-changeset

Jenkins and other CI

They run the same AWS CLI, so the same rules apply: check aws --version in the build log, write --no-fail-on-empty-changeset on deploy, and use the message-matching script above if your build calls update-stack. Resist || true on the deploy line: it turns a failed deployment into a green build.

The permissions your pipeline needs for deploy

When the role your pipeline uses is missing a permission, the error looks different (AccessDenied), but it often shows up on the same day you change how "no updates" is handled, so it's worth getting right once. aws cloudformation deploy makes these CloudFormation calls: DescribeStacks to see whether the stack exists, GetTemplateSummary when it updates an existing stack, CreateChangeSet, DescribeChangeSet while it waits for the change set, ExecuteChangeSet, and DescribeStacks again while it waits for the stack. All of them take the stack's ARN as the resource, so one statement scoped to your stack covers them:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "DeployBookingAppStack",
      "Effect": "Allow",
      "Action": [
        "cloudformation:DescribeStacks",
        "cloudformation:GetTemplateSummary",
        "cloudformation:CreateChangeSet",
        "cloudformation:DescribeChangeSet",
        "cloudformation:ExecuteChangeSet",
        "cloudformation:DeleteChangeSet"
      ],
      "Resource": "arn:aws:cloudformation:us-east-1:111122223333:stack/booking-app/*"
    }
  ]
}

Replace the Region, account ID and stack name with yours; the /* at the end covers the stack's unique ID. DeleteChangeSet isn't used by deploy itself, but it lets the pipeline clean up empty change sets. Three additions you may need:

  • Permissions for the resources themselves. CloudFormation creates and updates resources with the caller's permissions, so the role also needs, for example, DynamoDB or Lambda permissions for what's in your template. Or pass a CloudFormation service role with --role-arn, in which case the pipeline role needs iam:PassRole for that role instead.
  • An S3 bucket for big templates. A template larger than 51,200 bytes has to go through S3: add --s3-bucket, and give the role s3:PutObject and s3:GetObject on that bucket.
  • CAPABILITY_IAM or CAPABILITY_NAMED_IAM on the command, if the template creates IAM resources.

Our IAM policy guide explains each line of a policy like this one.

Change sets with no changes: FAILED isn't a failure

If you review changes before running them, an unchanged template gives you a change set that looks alarming:

aws cloudformation create-change-set --stack-name booking-app \
  --change-set-name review-oct13 --change-set-type UPDATE \
  --template-body file://template.yaml

aws cloudformation describe-change-set --stack-name booking-app \
  --change-set-name review-oct13 \
  --query '{Status:Status,ExecStatus:ExecutionStatus,Reason:StatusReason,Changes:length(Changes)}'
{
    "Status": "FAILED",
    "ExecStatus": "UNAVAILABLE",
    "Reason": "The submitted information didn't contain changes. Submit different information to create a change set.",
    "Changes": 0
}

That's the empty case, not an error in your template. A change set that failed for a real reason shows a different StatusReason, so check the reason, not just the status. Empty change sets stay on the stack until you remove them, and a pipeline that creates one per run collects them quickly:

aws cloudformation delete-change-set --stack-name booking-app --change-set-name review-oct13

You changed something and still got "No updates"? These changes don't count

This was Ethan's second problem. He had changed the template: he added an Output. But CloudFormation doesn't treat some template changes as an update when they're the only change. These are ignored on their own:

  • Outputs: adding, removing or changing an output.
  • DeletionPolicy on a resource.
  • UpdatePolicy on a resource.
  • Conditions: the template's condition declarations.
  • The template-level Metadata section, which can only change together with a change that adds, modifies or deletes resources.

Two more causes look like "my change was ignored" but are really "CloudFormation saw no change":

  • New Lambda code at the same S3 key. If your template points at s3://bucket/booking-app.zip and you upload a new zip to the same key, the template text is identical, so CloudFormation sees nothing new. The same goes for a container image pushed again under the same ECR tag, such as latest. To update the function code, change the object key or the version in the template.
  • Same parameters, same template. A pipeline that passes the same parameter values every run, or uses --use-previous-template without new values, is asking for no change.

For the Lambda case, the cleanest fix is to let the CLI name the upload for you. aws cloudformation package uploads local code to S3 under a name made from the file's checksum, and writes a new template that points at it. New code means a new name, which CloudFormation sees as a change:

aws cloudformation package \
  --template-file template.yaml \
  --s3-bucket my-deploy-artifacts \
  --output-template-file packaged.yaml

aws cloudformation deploy \
  --template-file packaged.yaml \
  --stack-name booking-app \
  --no-fail-on-empty-changeset

In template.yaml, point the function's Code property at your local folder, for example Code: ./src, and package replaces it with the S3 location.

Jake: "So you added the line, and CloudFormation decided it didn't count."

Ethan: "An Output on its own isn't an update to CloudFormation. It needs something real to ride along with, or a nudge."

How to make CloudFormation apply a change it's ignoring

When the only thing you changed is on that ignored list, give CloudFormation a change it does count: add or modify a Metadata attribute on any resource. CloudFormation doesn't interpret what's inside, so any value works. A parameter makes it easy to bump from the pipeline:

AWSTemplateFormatVersion: '2010-09-09'

Parameters:
  DeployNote:
    Type: String
    Default: "2026-10-13"

Resources:
  BookingTable:
    Type: AWS::DynamoDB::Table
    Metadata:
      DeployNote: !Ref DeployNote
    Properties:
      BillingMode: PAY_PER_REQUEST
      AttributeDefinitions:
        - AttributeName: bookingId
          AttributeType: S
      KeySchema:
        - AttributeName: bookingId
          KeyType: HASH

Outputs:
  BookingTableName:
    Value: !Ref BookingTable
aws cloudformation deploy \
  --template-file template.yaml \
  --stack-name booking-app \
  --parameter-overrides DeployNote=2026-10-14 \
  --no-fail-on-empty-changeset

The steps:

  1. Add a Metadata block with a value from a parameter to any resource, as above. Deploy once with the default so the parameter exists.
  2. Make the change CloudFormation ignores on its own, such as the new Output.
  3. Deploy with a new value for the parameter, as in the command above.
  4. Check that the change arrived, for example with aws cloudformation describe-stacks --stack-name booking-app --query 'Stacks[0].Outputs'.

Changing DeployNote changes the resource's metadata, so CloudFormation runs an update and applies your new Output along with it. Two cautions. Use this only when you actually need an ignored change applied; bumping it on every run defeats the point of "no updates" and makes every deployment look like a change. And a metadata change doesn't touch the resource itself: it won't redeploy Lambda code or restart anything. For new code, change the S3 key or use package, as above.

The resource-level Metadata attribute counts; the template-level Metadata section at the top of the file doesn't. Put the note inside a resource, as shown.

"No updates" doesn't mean nothing changed: drift

"No updates are to be performed" compares your template with the last deployed template. It doesn't look at the live resources. If someone edited a resource by hand, say, opened a security group port in the console, the template still matches, so you get "no updates" while the real resource differs. That difference is called drift. Check for it:

aws cloudformation detect-stack-drift --stack-name booking-app

That returns a detection ID. Check progress with it, then list what differs:

aws cloudformation describe-stack-drift-detection-status \
  --stack-drift-detection-id DETECTION_ID

aws cloudformation describe-stack-resource-drifts --stack-name booking-app \
  --stack-resource-drift-status-filters MODIFIED DELETED

Drift detection covers the resources and properties CloudFormation supports for it, so IN_SYNC means "nothing it can see has changed."

To put drifted resources back the way your template says, create a drift-aware change set with --deployment-mode REVERT_DRIFT. It compares three things, the live state, the last deployment and your template, so you can see exactly what it would undo before you run it:

aws cloudformation create-change-set --stack-name booking-app \
  --change-set-name revert-drift --change-set-type UPDATE \
  --template-body file://template.yaml \
  --deployment-mode REVERT_DRIFT

Read it carefully first: a manual change might have been an emergency fix someone meant to keep, and reverting it would quietly undo their work.

Still stuck? Troubleshooting by symptom

The pipeline fails with "No changes to deploy. Stack ... is up to date"

Your pipeline runs AWS CLI v1 or sam deploy, where an empty change set fails by default, or someone added --fail-on-empty-changeset. Add --no-fail-on-empty-changeset to the deploy command.

I added --no-fail-on-empty-changeset and nothing changed

If you're on CLI v2 with deploy, that was already the behavior, so the failure comes from somewhere else: another step calling update-stack, a wait command, or a GitHub Action with its own setting. Read which line actually failed.

UpdateStack ValidationError: No updates are to be performed

Your script calls update-stack directly. Use the message-matching function above, so the empty case passes and everything else still fails.

I changed an Output and got "No updates"

Output changes alone don't count. Add or bump a Metadata attribute on any resource so the Output change goes through with it.

New Lambda code didn't deploy

The template still points at the same S3 key or ECR tag, so CloudFormation saw no change. Use a new key, an object version, or aws cloudformation package, which names uploads by checksum.

wait stack-update-complete runs for an hour, then "Max attempts exceeded"

No update started, so the stack never reached UPDATE_COMPLETE. Only wait when update-stack returned successfully, as in the script above.

The waiter fails immediately on an unchanged stack

The stack's last update rolled back, so its status is UPDATE_ROLLBACK_COMPLETE, which the waiter counts as failure. Again, skip the wait when nothing started. If that rollback was recent, our rollback guide helps you see why.

"Stack with id ... does not exist"

Same error type, different problem: the name is wrong, or you're in a different Region or account than the stack. Check with aws sts get-caller-identity and aws cloudformation describe-stacks --stack-name NAME --region REGION.

AccessDenied on CreateChangeSet or ExecuteChangeSet

The pipeline role is missing a CloudFormation permission for that stack. Add the six actions from the permissions section, scoped to your stack's ARN.

The change set is FAILED with "didn't contain changes"

That's the empty case for change sets. Delete it with delete-change-set; nothing needs fixing.

CloudFormation "No updates are to be performed": frequently asked questions

What does "No updates are to be performed" mean in CloudFormation?

It means the update you requested contains no change from what's already deployed, so CloudFormation didn't start one. The stack and its resources are unchanged and still running. It's reported as a ValidationError, which is why scripts and pipelines often show it as a failure.

Is "No updates are to be performed" an error?

Technically it's returned as a ValidationError, but nothing went wrong. Treat it as success in your scripts, as long as you match this exact message rather than ignoring every ValidationError.

How do I fix "No updates are to be performed" in a pipeline?

With aws cloudformation deploy, add --no-fail-on-empty-changeset (already the default on AWS CLI v2). With sam deploy, add the same flag. With update-stack, catch the error only when its message is "No updates are to be performed" and skip the wait.

What is --no-fail-on-empty-changeset?

A flag for aws cloudformation deploy and sam deploy that makes the command exit with code 0 when there are no changes to deploy. On AWS CLI v2 it's the default for aws cloudformation deploy; on CLI v1 and sam deploy the default is to fail.

What is the default for fail-on-empty-changeset in AWS CLI v2?

False. AWS CLI v2's aws cloudformation deploy returns exit code 0 and prints "No changes to deploy" when the change set is empty. Use --fail-on-empty-changeset if you want it to fail instead.

Why does CloudFormation not update my stack when I changed the template?

Some changes don't count on their own: Outputs, DeletionPolicy, UpdatePolicy, Conditions and the template-level Metadata section. New Lambda code at the same S3 key isn't seen either. Add a resource Metadata change, or change the S3 key or version.

How do I force a CloudFormation stack update?

Add or modify a Metadata attribute on any resource, for example a value taken from a parameter you change. CloudFormation then runs an update and applies the other changes with it. It doesn't redeploy Lambda code or restart resources.

Why doesn't CloudFormation deploy my new Lambda code?

Changes to a deployment package in S3, or an image in ECR under the same tag, aren't detected during stack updates. Change the object key or version in the template, or use aws cloudformation package, which uploads code under a name based on its checksum.

Can update-stack ignore no changes?

No. update-stack has no flag for it and always returns the ValidationError. Use aws cloudformation deploy with --no-fail-on-empty-changeset instead, or handle that one message in your script.

Why does aws cloudformation wait stack-update-complete hang?

It only succeeds on UPDATE_COMPLETE, polling every 30 seconds up to 120 times. After an empty update on a stack that was only ever created, the status stays CREATE_COMPLETE, so it waits about an hour and then fails.

What does a FAILED change set with "didn't contain changes" mean?

The change set is empty: your template and parameters match the deployed stack. It isn't a template error. Delete the change set with delete-change-set, and check StatusReason to tell empty change sets from real failures.

Does "No updates are to be performed" mean there's no drift?

No. It compares your template with the last deployed template, not with the live resources. Run detect-stack-drift to find manual changes, and use a REVERT_DRIFT change set to review and undo them.

How do I handle "No updates are to be performed" in GitHub Actions?

Run aws cloudformation deploy with --no-fail-on-empty-changeset written out. With aws-actions/aws-cloudformation-github-deploy, v1 needs no-fail-on-empty-changeset: "1", and v2 uses fail-on-empty-changeset: false, which is its default.

Does sam deploy fail when there are no changes?

Yes, by default sam deploy returns a non-zero exit code when there are no changes to make to the stack. Add --no-fail-on-empty-changeset to make it succeed.

What exit code does update-stack return for no updates?

On AWS CLI v2, 254, the code the CLI uses for errors returned by the service. Match the message "No updates are to be performed" rather than the exit code, because other service errors use 254 too.

Is it safe to use || true after aws cloudformation deploy?

No. It hides every failure, including broken templates, missing permissions and failed resources, and turns a failed deployment into a green build. Use --no-fail-on-empty-changeset, which only covers the empty case.

For readers preparing for an AWS certification

We have been covering AWS certifications alongside our fixes, so here is a short extra for readers studying for one. If you only came for the fix, you already have it; feel free to skip this part.

Exams that test this topic: DevOps Engineer – Professional (DOP-C02) • CloudOps Engineer – Associate (SOA-C03).

Here are the exam-style questions this topic tends to raise, with the reasoning you need to answer them:

1. Why does an update say "No updates are to be performed"?

The template and parameters are identical to what is deployed; CloudFormation sees nothing to change.

2. Why does changing code in S3 not update a Lambda function?

The template still points to the same bucket key; change the key or object version.

3. How should a pipeline treat this response?

As success; aws cloudformation deploy with --no-fail-on-empty-changeset handles it.

4. How do you check what would change first?

Create a change set and review it.

5. Do tag-only changes trigger updates?

Yes, stack-level tag changes propagate as an update.

6. How do you force a replacement of one resource?

Change a property that requires replacement, or rename its logical ID.

Exam codes and dates change often. Our AWS certification changes page keeps track of what is current.

πŸ“š ALSO READ

Where to go next, from other CloudFormation and CDK errors to the credential problems that break pipelines:

📌 Bookmark this; the command table and the ignored-changes list apply to every stack you deploy.

Ethan fixed both problems the same afternoon. The pipeline now runs aws cloudformation deploy with the flag written out, so a quiet day shows green with "No changes to deploy." And the new Output went live by riding along with a one-time DeployNote bump on the bookings table. Jake found the booking API address in the stack's Outputs tab without asking anyone, which was the whole point. Ethan added the line below to the repository's README, where the next person to see a red badge would find it.

📌 If you keep one line from this page

"No updates are to be performed" means nothing changed, not that something broke; handle that one message, never every ValidationError, and remember Outputs and same-key Lambda code don't count as changes.

CLI v2 deploy already exits 0 on no changes; CLI v1 and sam deploy need --no-fail-on-empty-changeset; only wait when an update started.

Revision note. Written October 13, 2026, for every red pipeline badge that turned out to mean "all quiet." "If it ain't broke, don't fix it," goes the old saying; CloudFormation just takes it more literally than most.

Related