terraform/internal/command/testdata/test/write-only-attributes-overridden/main.tf
Liam Cervante 7fadbe34de
write-only attributes: internal providers should set write-only attributes to null (#36824)
* write-only attributes: internal providers should set write-only attributes to null

* add changelog

* fix copywrite headers
2025-04-02 15:58:42 +02:00

14 lines
238 B
HCL

variable "input" {
type = string
}
data "test_data_source" "datasource" {
id = "resource"
write_only = var.input
}
resource "test_resource" "resource" {
value = data.test_data_source.datasource.value
write_only = var.input
}