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

Skip to content

feat(provisioner/terraform): parse and resolve script order selectors - #29260

Open
geokat wants to merge 1 commit into
mainfrom
george/script-order/01-parse-and-resolve-selectors
Open

feat(provisioner/terraform): parse and resolve script order selectors#29260
geokat wants to merge 1 commit into
mainfrom
george/script-order/01-parse-and-resolve-selectors

Conversation

@geokat

@geokat geokat commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Add package-private helpers to parse script and whole-module
selectors, resolve them relative to their declaring module, and expand
count, for_each, and nested module instances.

Distinguish declared module calls with no concrete scripts from
unknown module selectors using Terraform plan configuration. These
helpers are not yet wired into workspace provisioning.

Selector parsing uses go-terraform-address in this PR. #29261
replaces it with HCL traversal parsing because go-terraform-address
rejects valid Unicode identifiers. Keeping that correction separate
limits this PR's scope.

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

Add package-private helpers to parse script and whole-module
selectors, resolve them relative to their declaring module, and expand
count, for_each, and nested module instances.

Distinguish declared module calls with no concrete scripts from
unknown module selectors using Terraform plan configuration. These
helpers are not yet wired into workspace provisioning.

Selector parsing uses go-terraform-address in this PR. A follow-up
replaces it with HCL traversal parsing because go-terraform-address
rejects valid Unicode identifiers. Keeping that correction separate
limits this PR's scope.

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/01 parse and resolve selectors feat(provisioner/terraform): parse and resolve script order selectors Sep 12, 2026
@linear-code

linear-code Bot commented Sep 12, 2026

Copy link
Copy Markdown

PLAT-543

@geokat
geokat marked this pull request as ready for review September 12, 2026 00:24
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