Confirm the account and create safe lab variables
Inspect the caller before creating anything. The GUID suffix makes the bucket name unlikely to collide with the shared S3 namespace.
aws --version
aws sts get-caller-identity
$env:LAB_REGION = "ap-south-1"
$env:LAB_BUCKET = "dr-lab-$([guid]::NewGuid().ToString('N').Substring(0,16))"
$env:LAB_BUCKETCheckpoint
- • The caller identity is the sandbox account you intended to use.
- • The generated bucket name contains only lowercase letters, numbers, and hyphens.