Skip to content

Commit

Permalink
Make importing work again
Browse files Browse the repository at this point in the history
  • Loading branch information
danafallon committed Jul 27, 2024
1 parent 804899f commit ea6dc11
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions examples/deployments/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ provider "artie" {
endpoint = "http://0.0.0.0:8000"
}

# import {
# to = artie_destination.bigquery
# id = "fa7d4efc-3957-41e5-b29c-66e2d49bffde"
# }
import {
to = artie_destination.bigquery
id = "fa7d4efc-3957-41e5-b29c-66e2d49bffde"
}

resource "artie_destination" "bigquery" {
name = "BigQuery"
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/destination_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (r *DestinationResource) Schema(ctx context.Context, req resource.SchemaReq
"ssh_tunnel_uuid": schema.StringAttribute{Computed: true, PlanModifiers: []planmodifier.String{stringplanmodifier.UseStateForUnknown()}},
"name": schema.StringAttribute{Required: true},
"label": schema.StringAttribute{Optional: true},
"last_updated_at": schema.StringAttribute{Computed: true},
"last_updated_at": schema.StringAttribute{Computed: true, PlanModifiers: []planmodifier.String{stringplanmodifier.UseStateForUnknown()}},
"config": schema.SingleNestedAttribute{
Required: true,
Attributes: map[string]schema.Attribute{
Expand Down

0 comments on commit ea6dc11

Please sign in to comment.