Skip to content

Commit

Permalink
Add valid service types for different cloud providers
Browse files Browse the repository at this point in the history
  • Loading branch information
htahir1 committed Oct 27, 2024
1 parent cb78c1a commit 1f779fd
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions internal/provider/validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,30 @@ var (
"mysql", "postgres", "snowflake", "databricks",
}

validServiceTypes = map[string][]string{
"aws": {
"artifact-store",
"container-registry",
"secrets-manager",
"step-operator",
},
"gcp": {
"artifact-store",
"container-registry",
"secrets-manager",
"step-operator",
},
"azure": {
"artifact-store",
"container-registry",
"step-operator",
},
"kubernetes": {
"orchestrator",
"step-operator",
},
}

validAuthMethods = map[string][]string{
"aws": {
"iam-role",
Expand Down

0 comments on commit 1f779fd

Please sign in to comment.