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

add VITE_CLERK_PUBLISHABLE_KEY and refine terraform code for release #220

Merged
merged 4 commits into from
Oct 14, 2024

Conversation

PhilexWong
Copy link
Collaborator

add production deployment branch

terraform/Amplify/main.tf Outdated Show resolved Hide resolved
Copy link
Collaborator

@vincenthongzy vincenthongzy Oct 14, 2024

Choose a reason for hiding this comment

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

If this whole file is permanently commented out from now onwards, I don't think it's necessary to be included in our codebase

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This file is a hint for next time redeploy production, such as aws account. I spend several hours to figure it out, so I decide to keep it.

Comment on lines 19 to 21
# It is required when first time to deploy the app
# oauth_token = var.github_oauth_token

Copy link
Collaborator

Choose a reason for hiding this comment

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

If this is permanently commented out from now onwards, I don't think it's necessary to be included in our codebase

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This file is a hint for next time redeploy production, such as aws account. I spent several hours to figure it out, so I decide to keep it.

Copy link
Collaborator

Choose a reason for hiding this comment

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

IMO it should be in a dedicated README.md or a run book / run script instead of it being a file but with its contents commented out. But yeah its not a blocker.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Accept it. Remove the file and comments

@vincenthongzy vincenthongzy self-requested a review October 14, 2024 03:11
@PhilexWong PhilexWong merged commit 4ca02b3 into main Oct 14, 2024
1 check passed
@PhilexWong PhilexWong deleted the fix/add-clerk-key-in-production branch October 14, 2024 21:48
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