Skip to content

Commit 1fb83ae

Browse files
committed
add changes to plugin path pipeline
1 parent d80ae7c commit 1fb83ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/plugin-patch.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ jobs:
4646
- name: Apply Terraform Plugin Sdk Patch
4747
run: |
4848
cd terraform-provider-aws
49-
go mod edit --replace github.com/hashicorp/terraform-plugin-sdk/v2=github.com/cloutierMat/terraform-plugin-sdk/v2@0e0cb30d203d5e8e3222850acbb8467cd48543d2
49+
sdk_version=$(go list -m github.com/hashicorp/terraform-plugin-sdk/v2 | sed -n -e 's/^.* //p')
50+
go mod edit --replace github.com/hashicorp/terraform-plugin-sdk/v2=github.com/cloutierMat/terraform-plugin-sdk/v2@$sdk_version
5051
go mod tidy
5152
5253
- name: Patch Terraform Provider

0 commit comments

Comments
 (0)