The "Running the Bootstrap" section has two issues:
- It starts with
cd terraform-bootstrap, but users who followed the earlier steps are already in that directory. - The
aws sts get-caller-identitycheck belongs in Prerequisites, not here -- by this point users should already have AWS CLI configured.
Running the Bootstrap
Option 1: Direct execution (recommended for first-time setup)
Make sure you're in the terraform-bootstrap directory, then run the bootstrap script:
./entrypoint.sh
The script will:
- Check for AWS CLI and Terraform/OpenTofu
- Verify AWS credentials and Organizations access
- Initialize Terraform
- Show the plan and ask for confirmation
- Apply the configuration
- Output and save the new IAM credentials
The "Running the Bootstrap" section has two issues:
1. It starts with `cd terraform-bootstrap`, but users who followed the earlier steps are already in that directory.
2. The `aws sts get-caller-identity` check belongs in Prerequisites, not here -- by this point users should already have AWS CLI configured.
## Running the Bootstrap
### Option 1: Direct execution (recommended for first-time setup)
Make sure you're in the `terraform-bootstrap` directory, then run the bootstrap script:
```bash
./entrypoint.sh
```
The script will:
1. Check for AWS CLI and Terraform/OpenTofu
2. Verify AWS credentials and Organizations access
3. Initialize Terraform
4. Show the plan and ask for confirmation
5. Apply the configuration
6. Output and save the new IAM credentials