Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix ignore regexes #172

Merged
merged 22 commits into from
Mar 1, 2024
Merged

Bugfix ignore regexes #172

merged 22 commits into from
Mar 1, 2024

Conversation

ChrisPates
Copy link
Contributor

@ChrisPates ChrisPates commented Feb 29, 2024

Issue #, if available:
#169
#170
#171

Description of changes:

  • Updated regex in template to be correct for the parameters,
  • Updated SourceCodeUrl to head of master branch
  • Fixed the interpretation of secret arns from lambda environment variable
    • GOOGLE_CREDENTIALS
    • GOOGLE_ADMIN
    • SCIM_ENDPOINT
    • SCIM_ACCESS_TOKEN
    • REGION
    • IDENTITY_STORE_ID
  • Fixed reading none-secret values that have default values from lambda environment variables
    • LOG_LEVEL
    • LOG_FORMAT
    • SYNC_METHOD
  • Change when log channel configured to respect log settings from above variables
    By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Allow:
- empty parameter (env var not created)
or
- One or more email addresses
Adding missing permissions to developer.yml
added missing env var parameter
Change Secret names in this stack to avoid collision with previously used names.
Update to use same buildspecs as in the release pipeline.
update cleanup stage to remove the correct stack.
Changed Source code Url to be head of master.
@ChrisPates ChrisPates marked this pull request as draft February 29, 2024 11:33
Despite passing the secrets arns to the function via the env variables. This were never actually used instead using hard code secret short names.
Remove redundant prefix from Env var names.
Adding import for os module
Adding missing permission to CLI test role.
Copy arm64 executable to correct path for building SAM package
Actually read secret arn from Env Var, and use fall back to old static names if the Env is missing or empty.
Checking whether case-sensetivity is impacts the import of envs
This reverts commit 5b54099.
viper doesn't handle lambda Env Vars well, so conditionally overriding normal viper behaviour.
Changed logConfig timing so log settings from Lambda Env Vars are respected.
@ChrisPates ChrisPates marked this pull request as ready for review March 1, 2024 18:02
@ChrisPates ChrisPates self-assigned this Mar 1, 2024
@ChrisPates ChrisPates merged commit 53b575b into master Mar 1, 2024
1 check passed
@ChrisPates ChrisPates deleted the bugfix_ignore_regexes branch March 1, 2024 19:06
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