Skip to content

Commit

Permalink
Updating config schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Maradiaga committed Dec 15, 2023
1 parent ae43ef4 commit d2f0a48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions btp/connection_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
)

type BTPConfig struct {
CISAccountServiceUrl *string `cty:"cis_accounts_service_url"`
CISEntitlementsServiceUrl *string `cty:"cis_entitlements_service_url"`
AccessToken *string `cty:"cis_access_token"`
CISAccountServiceUrl *string `hcl:"cis_accounts_service_url"`
CISEntitlementsServiceUrl *string `hcl:"cis_entitlements_service_url"`
AccessToken *string `hcl:"cis_access_token"`
}

var ConfigSchema = map[string]*schema.Attribute{
Expand Down
1 change: 0 additions & 1 deletion btp/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ func Plugin(ctx context.Context) *plugin.Plugin {
Name: "btp",
ConnectionConfigSchema: &plugin.ConnectionConfigSchema{
NewInstance: ConfigInstance,
Schema: ConfigSchema,
},
DefaultTransform: transform.FromGo().NullIfZero(),
TableMap: map[string]*plugin.Table{
Expand Down

0 comments on commit d2f0a48

Please sign in to comment.