[BUG] epicli init --full -p azure generates not correct region value
See original GitHub issueDescribe the bug Epicli apply --full -p azure generates not correct region value - it generates eu-west-2 which is value for AWS.
How to reproduce Steps to reproduce the behavior:
- execute `epicli init --full -p azure
- see config file
- execution with default region value will fail
Expected behavior Region value should be compatible with Azure if we generate file for Azure
Environment
- Cloud provider: Azure
- OS: all
epicli version: all
Additional context Probably default value in file https://github.com/epiphany-platform/epiphany/blob/develop/core/src/epicli/data/common/defaults/epiphany-cluster.yml should be changed.
DoD checklist
- Changelog updated (if affected version was released)
- COMPONENTS.md updated / doesn’t need to be updated
- Automated tests passed (QA pipelines)
- apply
- upgrade
- Case covered by automated test (if possible)
- Idempotency tested
- Documentation updated / doesn’t need to be updated
- All conversations in PR resolved
- Backport tasks created / doesn’t need to be backported
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Having issues with creating a virtual machine with Azure for ...
I am trying to create a virtual machine in region US (East) US and get an error message when selecting B1s for size....
Read more >All Work · GitHub
[FEATURE REQUEST] Create server spec for Helm repository ... area/kubernetes ... [BUG] Internal User changes to OpenSearch not reflected in config files.
Read more >Epic-Feature-Story-Task! What?! - YouTube
The Azure DevOps default template and SAFe requirements model suggest a requirements hierarchy of Epic-Feature-Story-Task.
Read more >Full text of "A glossary of botanic terms, with ... - Internet Archive
The special terms contrived for American conditions have not been transferred to these ... the value of this Glossary being largely due to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Bug is in this function:
path_to_file will always have a value of:
"epiphany/core/src/epicli/cli/helpers/../../data/azure/defaults/epiphany-cluster.yml"
such file does not exist.Therefore in load_file_from_path function else statement will always be executed.
This leads to getting values from the:
"epiphany/core/src/epicli/cli/helpers/../../data/common/defaults/epiphany-cluster.yml"
which is the default file for all providers that contains aws values.✔️ Fixed. Now a different default configuration is used for each
provider
.