You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement the map file JSON parser that reads $config section and variable mappings from a JSON map file. Returns a ParsedMapFile struct with config and mappings separated.
Description
Implement the map file JSON parser that reads
$configsection and variable mappings from a JSON map file. Returns aParsedMapFilestruct with config and mappings separated.Acceptance Criteria
internal/application/parser.go:ParseMapFile(path string) (*ParsedMapFile, error)$configsection (provider, vaultUrl, profile) intoMapFileConfigmap[string]string)$configgracefully (defaults to AWS)go test ./...passesTechnical Notes
internal/application/(not publicly exported)ParsedMapFilestruct:Config MapFileConfig+Mappings map[string]string