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

Derive app_name from module path #94

Closed
wants to merge 2 commits into from
Closed

Derive app_name from module path #94

wants to merge 2 commits into from

Conversation

lorenyu
Copy link
Collaborator

@lorenyu lorenyu commented Feb 28, 2024

Ticket

N/A

Changes

see title

Context for reviewers

When changing the name of the application from the default of app, such as when adding multiple applications to a monorepo, developers often forget to modify the app_name config value in the app-config module. This change removes the need for that manual step by obtaining the app_name from the name of the folder containing the application's infrastructure code.

Testing

Running make infra-update-app-service yields no changes
image

@lorenyu
Copy link
Collaborator Author

lorenyu commented Feb 28, 2024

Done in navapbc/template-infra#568

@lorenyu lorenyu closed this Feb 28, 2024
@lorenyu lorenyu deleted the lorenyu/appname branch February 28, 2024 20:01
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