terraform-provider-corefunc icon indicating copy to clipboard operation
terraform-provider-corefunc copied to clipboard

Implement `corefunc_println`

Open skyzyx opened this issue 2 years ago • 2 comments
trafficstars

Go: corefunc.Println(string) TF: corefunc_println

Print a custom line of text to the plan/apply output.

  • Add color support?
  • Would support heredocs, of course.

skyzyx avatar Sep 05 '23 18:09 skyzyx

Although I was able to run acceptance tests, and tfschema worked, Terraform would fail when running v1.6.0. Switched to v1.5.7 and Terraform stopped failing.

Unfortunately, this entire feature is currently blocked by these issues (maybe more):

  • Filed 2018-02-02 — https://github.com/hashicorp/terraform/issues/17267
  • Filed 2021-04-01 — https://github.com/hashicorp/terraform-provider-external/issues/67
  • Filed 2023-04-03 — https://github.com/hashicorp/terraform-provider-external/pull/206

skyzyx avatar Oct 07 '23 19:10 skyzyx

Completed work (until the issues are resolved) is in https://github.com/northwood-labs/terraform-provider-corefunc/tree/feature/message.

skyzyx avatar Oct 07 '23 20:10 skyzyx