INNER CODE UNIT · Go
addEchoBytesConfig
hashicorp/terraform-provider-random · internal/provider/ephemeral_bytes_test.go:69
func addEchoBytesConfig(cfg string) string {
return fmt.Sprintf(`
%s
provider "echo" {
data = ephemeral.random_bytes.test
}
resource "echo" "bytes_test" {}
`, cfg)
}