Interview Prep/Terraform/Security, Secrets and Access

How do CI runners reach state and APIs privately?

IntermediateProductionSecurity, Secrets and Access
Answer

Run self-hosted runners inside the VPC with VPC endpoints for S3, STS and other services, and restrict the bucket policy to aws:SourceVpce where practical. Egress is allow-listed to the registry mirror and cloud APIs. It reduces exposure but adds ops work; hosted runners with OIDC are acceptable for many teams.

All Terraform questions Roadmap: Terraform in production

More on Security, Secrets and Access