Brian Flad

Results 422 comments of Brian Flad

Just to document them, other (potentially mutually exclusive) ideas that have floated around this space are: * Support for "relative" attribute paths (e.g. starting with a period to reference the...

Another similar bug report, https://github.com/hashicorp/terraform-plugin-sdk/issues/962, contains a reproduction of this issue as well.

Hi folks 👋 The testing framework generally expects tests to always destroy successfully at the end of a `TestCase` to prevent dangling infrastructure and manual resource cleanup. Does setting up...

Hi @TomerHeber 👋 Thank you for raising this. Folks have certainly asked about similar functionality in the past, however the use cases tend to be quite limited as you still...

Hi @mavogel 👋 Thank you for raising this. Having appropriate documentation on `ValidateDiagFunc` would be great, although it feels like this would be better suited where the [existing validation documentation](https://www.terraform.io/plugin/sdkv2/schemas/schema-behaviors#validatefunc)...

My understanding with the old internals of the sdk is that the `cty` value handling (`Raw*` fields) is more of a resource-level thing than affected by any attributes. Those `cty`...

Hey @gdavison 👋 Is there any improvement with using v2.21.0? If not, we'll need to figure out other potential places where the data is not being appropriately copied.

Some additionally good news here is that the upstream issue with provider-based sensitive values not being able to be unmarked via the `nonsensitive()` function has been fixed and will release...

This is a fun one! When I was leading up AWS provider development, this was constantly a source of confusion, so eventually we documented it that resources whose timeouts were...

Hi @obourdon 👋 Thank you for raising this. For more advanced error checking/handling, there is the [`resource.TestCase` type `ErrorCheck` field](https://pkg.go.dev/github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource#TestCase.ErrorCheck), which accepts a `func(error) error` that can be used to...