diff --git a/internal/provider/provider.go b/internal/provider/provider.go index 85c07c54..c9b51d05 100644 --- a/internal/provider/provider.go +++ b/internal/provider/provider.go @@ -42,7 +42,6 @@ type LxdProviderRemoteModel struct { type LxdProviderModel struct { Remotes []LxdProviderRemoteModel `tfsdk:"remote"` ConfigDir types.String `tfsdk:"config_dir"` - Project types.String `tfsdk:"project"` AcceptRemoteCertificate types.Bool `tfsdk:"accept_remote_certificate"` GenerateClientCertificates types.Bool `tfsdk:"generate_client_certificates"` } @@ -83,11 +82,6 @@ func (p *LxdProvider) Schema(_ context.Context, _ provider.SchemaRequest, resp * Optional: true, Description: "Accept the server certificate.", }, - - "project": schema.StringAttribute{ - Optional: true, - Description: "The project where project-scoped resources will be created. Can be overridden in individual resources. (default = default)", - }, }, Blocks: map[string]schema.Block{ @@ -216,12 +210,6 @@ func (p *LxdProvider) Configure(ctx context.Context, req provider.ConfigureReque } } - // Determine project. - project := data.Project.ValueString() - if project != "" { - config.ProjectOverride = project - } - // Initialize global LxdProvider struct. // This struct is used to store information about this Terraform // provider's configuration for reference throughout the lifecycle.