Skip to content

docs(providers): correct AWS and Google Cloud deployment, secrets and managed-service statements - #466

Merged
raphaeltm merged 1 commit into
mainfrom
docs/accuracy-pass-providers
Nov 23, 2026
Merged

raphaeltm merged 1 commit into
mainfrom
docs/accuracy-pass-providers

Conversation

@ghost

@ghost ghost commented Nov 20, 2026

Copy link
Copy Markdown

What

Corrects docs/providers/aws.md and gcp.md where the code disagrees. Each change below cites code that was opened and checked (paths under projects/).

AWS

  • The deployment runs as an AWS CodeBuild build, not an ECS task; images are built with CodeBuild and pushed to ECR. defang/src/pkg/cli/client/byoc/aws/byoc.go (Driver() returns codebuild; Pulumi state at s3://<bucket>), defang-mvp/pulumi/shared/ecs/codebuild_image.ts:164.
  • Managed Redis: engine is Valkey if the image repository contains valkey, otherwise Redis. defang-mvp/pulumi/cd/aws/redis.ts:58.
  • Managed LLMs: grants Bedrock invoke permissions; it does not provision an ElastiCache cluster. defang-mvp/pulumi/shared/ecs/policies.ts, attached in cd/aws/defang_service.ts:980.
  • Bootstrap CloudFormation resources: replaced the old table (ECS cluster, VPC, task definitions and so on) with what the template creates: S3 bucket, log group, IAM role and managed policy, CodeBuild project, and a conditional OIDC provider and CI role. defang/src/pkg/clouds/aws/codebuild/cfn/template.go:146,164,171,202,258,289,302.

Google Cloud

  • Deploy and build use Cloud Build, not a Cloud Run Job. defang/src/pkg/cli/client/byoc/gcp/byoc.go (Driver() returns cloudbuild).
  • Secrets are supported and stored in Secret Manager. defang/src/pkg/clouds/gcp/secret.go; byoc.go PutConfig path.
  • Runtime: one ingress port runs on Cloud Run, restart: "no" runs as a Cloud Run job, other services can run on Compute Engine managed instance groups. defang-mvp/pulumi/cd/gcp/gcpcd/algo.go:162-166, compute.go.

Left unchanged (not confirmed, or outside this pass)

  • The per-project AWS resource table still lists kaniko-* repositories, task definitions and roles. Kaniko still appears in defang-mvp/pulumi/index.ts and tests, but I did not trace whether current deployments create these, so the table is unchanged and may be stale.
  • --provider=aws / --provider=gcp usage text. The live 3.16.0 help still lists -P, --provider, but the code marks it deprecated in favour of stacks. Not rewritten here.
  • GCP: report says Firestore Enterprise backs x-defang-mongodb (gcpcd/mongo.go); not opened, page unchanged. The "Public Preview as of December 2024" banner and the Memorystore and Cloud SQL region claims were not checked.
  • AWS: the broken anchor #creating-an-aws-iam-user-for-defang already exists on main; not touched.
  • Azure and DigitalOcean pages belong to docs(providers): Azure is no longer beta, DigitalOcean is deprecated #464.

Checks

npm run build succeeds (only the existing broken-anchor warning for the AWS IAM link). One separate reviewer pass opened every cited file and found no problems. Humanizer pass: changed prose was read for AI tells; no changes needed.

Independent of #465 (different files).

🤖 Generated with Claude Code

…service statements

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@ghost
ghost self-requested a review as a code owner November 20, 2026 04:39
@coderabbitai

coderabbitai Bot commented Nov 20, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

Ask an organization administrator to verify that this bot has an active assigned CodeRabbit review seat. See the seat-assignment guide. After the seat is confirmed, request a review again.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI; Enforced overrides: Organization
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 829ba012-7bed-48d9-8fb8-9ca432fe11ac

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@raphaeltm
raphaeltm merged commit 0d3e9f7 into main Nov 23, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant