Skip to content

Conversation

@sajagana
Copy link
Collaborator

@sajagana sajagana commented Jan 9, 2026

No description provided.

@sajagana sajagana added the jira-sync Sync this issue to Jira label Jan 9, 2026
@github-actions github-actions bot changed the title Add logic for static custom type Add logic for static custom type (DCNE-632) Jan 9, 2026
@@ -1,3 +1,7 @@
// Code generated by "gen/generator.go"; DO NOT EDIT.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

split this change to split PR to reduce changes and quick review

{{.ResourceClassName}}{{ .Name }} types.String `tfsdk:"{{overwriteProperty .PkgName .SnakeCaseName $.Definitions}}"`
{{- else if .HasCustomType}}
{{ .Name }} customTypes.{{.ResourceClassName}}{{.Name}}StringValue `tfsdk:"{{overwriteProperty .PkgName .SnakeCaseName $.Definitions}}"`
{{ .Name }} customTypes.{{- if .StaticCustomType}}{{.StaticCustomType}}{{else}}{{.ResourceClassName}}{{.Name}}{{- end}}StringValue `tfsdk:"{{overwriteProperty .PkgName .SnakeCaseName $.Definitions}}"`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing legacy attribute support and changes

name: "131"
custom_type:
ip: fe80::0002
static_custom_type:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you check for all other attributes in other resources where ipv6 types should be used?

@akinross
Copy link
Collaborator

akinross commented Jan 9, 2026

what is the impact during provider upgrade?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jira-sync Sync this issue to Jira

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants