Skip to content

Commit

Permalink
code nits: added comments and removed unwanted variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Rchanger committed Jul 30, 2021
1 parent cf9b413 commit cf95ef4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const (
jobTemplate = "job_template"
)

// ResourceMetadata holds details about the provider
type ResourceMetadata struct {
ProviderType string // kubernetes
ResourceType string // kubernetes_service
Expand Down
3 changes: 1 addition & 2 deletions pkg/iac-providers/terraform/commons/load-dir.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ import (

var (
// ErrBuildTFConfigDir error
ErrBuildTFConfigDir = fmt.Errorf("failed to build terraform allResourcesConfig")
eligibleRequiredProviders = []string{"registry.terraform.io/hashicorp/kubernetes", "registry.terraform.io/hashicorp/aws", "registry.terraform.io/hashicorp/azure", "registry.terraform.io/hashicorp/google"}
ErrBuildTFConfigDir = fmt.Errorf("failed to build terraform allResourcesConfig")
)

// ModuleConfig contains the *hclConfigs.Config for every module in the
Expand Down

0 comments on commit cf95ef4

Please sign in to comment.