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

Fixes bug where cost centre and business unit were not being picked up by RAT #350

Merged
merged 2 commits into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ The script checks that the headers in the CSV have the expected values. If the u

**To apply the changes, you must restart the app.**
Login to the AWS account by running: ```gds aws <account-name> -l```.
In the AWS console, open App Runner and click Actions -> Pause, and then Resume.
In the AWS console, open App Runner and click the orange deploy button to refresh the instance without downtime.
CorinWilkins marked this conversation as resolved.
Show resolved Hide resolved
3 changes: 2 additions & 1 deletion bin/csv_updater
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ end

def map_csv_headers(csv, mapping)
CSV.generate do | out_csv |
out_csv << mapping.keys
out_csv << mapping.values

CSV.foreach(csv, headers: true) do |in_row|
out_row = []
mapping.each do |old_header, new_header|
Expand Down
Loading