fix: add AWS_ROLE_ARN and AWS_REGION for dstack-ingress STS (CPL-152)#190
Merged
fix: add AWS_ROLE_ARN and AWS_REGION for dstack-ingress STS (CPL-152)#190
Conversation
dstack-ingress requires STS role assumption to access Route 53 — direct IAM keys alone cause "Invalid length for parameter RoleArn" validation errors. Uncomment and wire AWS_ROLE_ARN and AWS_REGION through the deploy workflow as GitHub variables. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
CPL-152 Update docker-compose + deploy workflow for Phase 0
PR: #181 (target: What was done
Required GitHub configuration
Status
Blocked on
|
Garandor
added a commit
that referenced
this pull request
Mar 27, 2026
…#190) dstack-ingress requires STS role assumption to access Route 53 — direct IAM keys alone cause "Invalid length for parameter RoleArn" validation errors. Uncomment and wire AWS_ROLE_ARN and AWS_REGION through the deploy workflow as GitHub variables. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Invalid length for parameter RoleArnvalidation errorsAWS_ROLE_ARNandAWS_REGIONindocker-compose.phala.ymland wires them through the deploy workflow as GitHub variablesFollows up on #181.
Changes
docker-compose.phala.ymlAWS_ROLE_ARNandAWS_REGIONare now required env vars (were commented out as "optional")CERTBOT_AWS_ROLE_ARNandCERTBOT_AWS_REGION.github/workflows/deploy-phala.ymlCERTBOT_AWS_ROLE_ARNandCERTBOT_AWS_REGION(both GitHub variables)Required GitHub configuration
After merging, set these before deploying:
CERTBOT_AWS_ROLE_ARN— IAM role ARN with Route 53 permissions (e.g.arn:aws:iam::<ACCOUNT>:role/certbot-route53-dns-challenge)CERTBOT_AWS_REGION— AWS region for STS endpoint (e.g.us-east-1)Test plan
docker-compose.phala.ymlvalidates withdocker compose confignextand verifyhttps://test.chipotle.litprotocol.com/healthreturns 200🤖 Generated with Claude Code