-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace underscore with dash in source_name (#130)
* Replace underscore with dash in source_name In both the new and old version of `Kildomaten` we sanitize source names by replacing underscores with dashes, see: - https://github.com/statisticsnorway/terraform-dapla-source-data-processor/blob/c38815d77401470ca26c576316f02a511a11fe8d/main.tf#L30 - https://github.com/statisticsnorway/terraform-dapla-source-data-automation/blob/f268e4ec03dbd4c6d250348e12a1f7c8d8d7daed/main.tf#L31 Users should not have to concern themselves with this impl detail ,so this PR abstract it away by doing the same sanitization here. * Fix import sorting error introduced by commit hooks * Add function that extracts the environment name from project id * Explicitly type the dictionary And update `Kuben` test case with valid project id
- Loading branch information
Showing
3 changed files
with
45 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "dapla-toolbelt" | ||
version = "2.0.9" | ||
version = "2.0.10" | ||
description = "Dapla Toolbelt" | ||
authors = ["Dapla Developers <[email protected]>"] | ||
license = "MIT" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters