Ravi Sir's Cards › AWS
What does --dry-run do on EC2?
This interview card answers: What does --dry-run do on EC2? It checks permissions without making the change. Success shows DryRunOperation; no rights shows UnauthorizedOperation. The card’s suggested next step is to use before run-instances or terminate in scripts.
Read card text
What this card says
What it is
It checks permissions without making the change.
Why it matters
Success shows DryRunOperation; no rights shows UnauthorizedOperation.
--dry-run
How / example
Use before run-instances or terminate in scripts.