Skip to content

Feature: Make AWS Profile optional and support environment variables - #9

Open
glensc wants to merge 3 commits into
zagaran:masterfrom
glensc:make-profile-optional
Open

Feature: Make AWS Profile optional and support environment variables#9
glensc wants to merge 3 commits into
zagaran:masterfrom
glensc:make-profile-optional

Conversation

@glensc

@glensc glensc commented Aug 12, 2026

Copy link
Copy Markdown
  • Remove mandatory profile requirement
  • Allow profile to be None when not specified via CLI or EB config
  • Only add --profile to AWS SSM command when profile is set
  • Only add --region to AWS SSM command when region is set
  • This enables AWS CLI to use environment variables like AWS_PROFILE
  • Applies same pattern to region for consistency

Fixes issue: #3

Note: This is extension to using eb config:

@glensc
glensc force-pushed the make-profile-optional branch from 9528dbe to e7b76b6 Compare August 12, 2026 06:59
glensc and others added 3 commits August 12, 2026 10:02
- Drop hard failure when profile or region is absent
- Only configure EB CLI aws state when values are available

Co-authored-by: GitHub Copilot (Claude Haiku 4.5) <noreply@github.com>
Co-authored-by: OpenCode (gpt-5.4) <noreply@openai.com>
- Delete the helper after profile and region become optional

Co-authored-by: GitHub Copilot (Claude Haiku 4.5) <noreply@github.com>
Co-authored-by: OpenCode (gpt-5.4) <noreply@openai.com>
- Add profile and region flags only when values are set
- Let aws ssm inherit credentials and region from the environment

Co-authored-by: GitHub Copilot (Claude Haiku 4.5) <noreply@github.com>
Co-authored-by: OpenCode (gpt-5.4) <noreply@openai.com>
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