Skip to content

Examples of Lambda: the variable aws_profile of the profile of the provider of AWS - #618

Merged
dex4er merged 1 commit into
mainfrom
lambda-aws-profile
Nov 12, 2026
Merged

dex4er merged 1 commit into
mainfrom
lambda-aws-profile

Conversation

@dex4er

@dex4er dex4er commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator

The examples of Lambda deploy with the credentials and the region of the default chain of AWS. The variable aws_profile names a profile of AWS for the provider instead, without AWS_PROFILE in the environment of each command.

Changes

  • examples/lambda, examples/lambda_stream, examples/lambda_zip:
    • the variable aws_profile, null by default, the default chain of AWS as before;
    • profile = var.aws_profile of the provider of AWS;
    • their README.md: -var aws_profile=NAME.

Validation

  • tofu validate and tofu fmt of the three examples, trunk check.
  • tofu plan of examples/lambda and examples/lambda_stream with -var aws_profile=... and without AWS_PROFILE: the same plan as with AWS_PROFILE.
  • Without the variable and without credentials: the error of the default chain of AWS.

🤖 Generated with Claude Code

…ovider of AWS

Without it, the provider takes the credentials and the region of the default chain of AWS, as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dex4er dex4er added this to the 0.4.0 milestone Nov 12, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Tests

Job Tests Passed ✅ Skipped ⚠️ Failed ❌ Log
prove (python 3.12, Asyncio) 7469 7440 29 0 ✅ 131383144705
prove (python 3.12, Poll) 7441 7410 31 0 ✅ 131383144456
prove (python 3.13, Asyncio) 7469 7440 29 0 ✅ 131383144746
prove (python 3.13, Poll) 7441 7410 31 0 ✅ 131383144382
prove (python 3.14, Asyncio) 7500 7476 24 0 ✅ 131383144529
prove (python 3.14, Poll) 7472 7446 26 0 ✅ 131383144623
prove (python 3.15, Asyncio) 7500 7476 24 0 ✅ 131383144717
prove (python 3.15, Poll) 7472 7446 26 0 ✅ 131383144524
prove (python 3.15t, Asyncio) 7500 7476 24 0 ✅ 131383144573
prove (python 3.15t, Poll) 7472 7446 26 0 ✅ 131383144858
prove (python mise, Asyncio) 7579 7544 35 0 ✅ 131383144745
prove (python mise, Asyncio, Windows) 7300 7234 66 0 ✅ 131383144864
prove (python mise, Poll) 7551 7514 37 0 ✅ 131383144514
prove (python mise, Poll, Windows) 7272 7204 68 0 ✅ 131383144651
prove (python pypy3.12, Asyncio) 7469 7440 29 0 ✅ 131383144689
prove (python pypy3.12, Poll) 7441 7410 31 0 ✅ 131383144877
pytest (python 3.12, ubuntu-26.04-arm) 442 416 26 0 ✅ 131383144439
pytest (python 3.15, ubuntu-26.04-arm) 442 421 21 0 ✅ 131383145112
pytest (python 3.15, windows-2025) 442 393 49 0 ✅ 131383144664
servers (python 3.12) 54 54 0 0 ✅ 131383143949
servers (python 3.15) 53 53 0 0 ✅ 131383144640
All 120781 120149 632 0 ✅

The run of the workflow

@dex4er
dex4er merged commit 11e47e8 into main Nov 12, 2026
26 checks passed
@dex4er
dex4er deleted the lambda-aws-profile branch November 12, 2026 18:14
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