Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions integrations/terraform/protoc-gen-terraform-accesslist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,13 @@ exclude_fields:
# These fields will be marked as Computed: true
computed_fields:
# Metadata
- "AccessList.header.kind"
- "AccessList.header.metadata.expires"
- "AccessList.header.metadata.namespace"
- "AccessList.header.metadata.revision"
- "AccessList.spec.audit.next_audit_date"


# These fields will be marked as Required: true
required_fields:
- "Metadata.name"
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions integrations/terraform/tfschema/resource153/custom_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ package resource153
import (
"context"
"fmt"
"time"

"github.com/hashicorp/terraform-plugin-framework/attr"
"github.com/hashicorp/terraform-plugin-framework/diag"
Expand Down Expand Up @@ -63,6 +64,7 @@ func CopyToTimestamp(diags diag.Diagnostics, o *timestamppb.Timestamp, t attr.Ty
}

value.Value = (*o).AsTime()
value.Format = time.RFC3339

return value
}
Expand Down
Loading