infrastructure-post-deployment-validation-and-smoke-testing
Infrastructure Post-Deployment Validation and Smoke Testing
Purpose
terraform apply exiting 0, a CloudFormation stack reaching
UPDATE_COMPLETE, or ansible-playbook reporting no failed tasks all
mean exactly one thing: the tool successfully executed the operations it
was told to perform. None of them mean the resulting system actually
works — a security group with an unreachable rule, a load balancer
target group with zero healthy targets, a database that came up but
rejects the application's connection string, or a service that started
but never became ready are all fully consistent with a "successful"
apply. This skill covers the validation layer that has to run after the
IaC/config-management tool reports success: checking that resources
actually exist with the expected configuration, and — going one step
further — that the system is functionally healthy from the outside, the
way a real client would observe it. Without this layer, "the pipeline is
green" and "the service works" are two different claims that get
conflated until an incident proves they weren't the same thing.