Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

Strict mode

What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.

Strict mode -e stops on errors. -u fails on unset vars. pipefail catches pipe errors. Top of the script.
Strict mode · Download PNG
Read card text

What this card says

Why do we need it?

-e stops on errors.

What is it?

-u fails on unset vars.

How to do it

pipefail catches pipe errors.

Example

Top of the script.

set -euo pipefail

See all AWS revision cards