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

fix: Update python version in terraform to keep consistent #1518

Merged
merged 6 commits into from
Aug 7, 2024

Conversation

MCatherine1994
Copy link
Contributor

Upgrade python to v3.12 in terraform to be the same version in the GitHub pipeline workflow yamls.

We got a deployment error when merged pr #1517 https://github.com/bcgov/nr-forests-access-management/actions/runs/10275482241, the Api Gateway is not reachable. It's caused by a python version mismatch issue. After manually set the lambda python version to 3.12, the Api Gateway works again.
Screen Shot 2024-08-06 at 5 08 38 PM

@MCatherine1994
Copy link
Contributor Author

Hi Ian, I wonder if you know what this "version: 3.8" means here? It's in all three docker compose files @ianliuwk1019
image

@ianliuwk1019
Copy link
Collaborator

Hi Ian, I wonder if you know what this "version: 3.8" means here? It's in all three docker compose files @ianliuwk1019 image

Hm... I don't think I know the reason. They were probably inherit from (copy-paste) the first docker-compose file, but I don't know why it was 3.8. I think we could remove this "version" to avoid confusion, the docker docs says it is not being used.

ianliuwk1019
ianliuwk1019 previously approved these changes Aug 7, 2024
Copy link
Collaborator

@ianliuwk1019 ianliuwk1019 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Catherine!
I see the sonar template also has this "3.8" but not sure if it is actually used...
image

Copy link

sonarcloud bot commented Aug 7, 2024

Quality Gate Passed Quality Gate passed for 'nr-forests-access-management_admin'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@MCatherine1994 MCatherine1994 merged commit 37464c6 into main Aug 7, 2024
14 checks passed
@MCatherine1994 MCatherine1994 deleted the fix/test-container branch August 7, 2024 16:31
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.

2 participants