Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(provisioner/terraform): support Unicode Terraform addresses - #29261

Open
geokat wants to merge 1 commit into
george/script-order/01-parse-and-resolve-selectorsfrom
george/script-order/02-support-unicode-addresses
Open

fix(provisioner/terraform): support Unicode Terraform addresses#29261
geokat wants to merge 1 commit into
george/script-order/01-parse-and-resolve-selectorsfrom
george/script-order/02-support-unicode-addresses

Conversation

@geokat

@geokat geokat commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Replace go-terraform-address in script-order selector resolution with
HCL traversal parsing. The former accepts only ASCII identifiers and
rejects valid Terraform addresses containing Unicode identifiers.

Parse the managed-resource addresses and module-instance paths needed
by the provisioner, including count and for_each instance keys. Add
coverage for Unicode identifiers, nested modules, escaped keys, and
invalid address forms.

The existing convertAddressToModulePath telemetry helper also uses
go-terraform-address and has the same Unicode limitation. Keep that
unrelated call path unchanged here to limit scope; it can migrate to
this parser separately.

Refs:
https://linear.app/codercom/issue/PLAT-543

Replace go-terraform-address in script-order selector resolution with
HCL traversal parsing. The former accepts only ASCII identifiers and
rejects valid Terraform addresses containing Unicode identifiers.

Parse the managed-resource addresses and module-instance paths needed
by the provisioner, including count and for_each instance keys. Add
coverage for Unicode identifiers, nested modules, escaped keys, and
invalid address forms.

The existing convertAddressToModulePath telemetry helper also uses
go-terraform-address and has the same Unicode limitation. Keep that
unrelated call path unchanged here to limit scope; it can migrate to
this parser separately.

Refs:
https://linear.app/codercom/issue/PLAT-543
@geokat
geokat added this pull request to stack #29262 September 12, 2026 00:14
@geokat geokat changed the title george/script order/02 support unicode addresses fix(provisioner/terraform): support Unicode Terraform addresses Sep 12, 2026
@linear-code

linear-code Bot commented Sep 12, 2026

Copy link
Copy Markdown

PLAT-543

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant