Skip to content

Commit

Permalink
Wire up types
Browse files Browse the repository at this point in the history
  • Loading branch information
strideynet committed Dec 18, 2024
1 parent f456d47 commit e6ceffd
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
2 changes: 2 additions & 0 deletions integrations/terraform/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,7 @@ func (p *Provider) GetResources(_ context.Context) (map[string]tfsdk.ResourceTyp
"teleport_installer": resourceTeleportInstallerType{},
"teleport_access_monitoring_rule": resourceTeleportAccessMonitoringRuleType{},
"teleport_static_host_user": resourceTeleportStaticHostUserType{},
"teleport_workload_identity": resourceTeleportWorkloadIdentityType{},
}, nil
}

Expand Down Expand Up @@ -531,6 +532,7 @@ func (p *Provider) GetDataSources(_ context.Context) (map[string]tfsdk.DataSourc
"teleport_installer": dataSourceTeleportInstallerType{},
"teleport_access_monitoring_rule": dataSourceTeleportAccessMonitoringRuleType{},
"teleport_static_host_user": dataSourceTeleportStaticHostUserType{},
"teleport_workload_identity": dataSourceTeleportWorkloadIdentityType{},
}, nil
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// Teleport
// Copyright (C) 2024 Gravitational, Inc.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

package v1

import "github.com/gravitational/teleport/integrations/terraform/tfschema/resource153"

var (
GenSchemaTimestamp = resource153.GenSchemaTimestamp
CopyToTimestamp = resource153.CopyToTimestamp
CopyFromTimestamp = resource153.CopyFromTimestamp
)

0 comments on commit e6ceffd

Please sign in to comment.