You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fmt.Sprintf(`{"@level":"info","@message":"Testing out timestamps in hclog.TimeFormat format","@module":"terraform.ui","@timestamp":"%s","type":"log"}`,
133
+
hclogTimeFormat,
134
+
),
135
+
LogMessage{
136
+
baseLogMessage: baseLogMessage{
137
+
Lvl: Info,
138
+
Msg: "Testing out timestamps in hclog.TimeFormat format",
`{"@level":"info","@message":"Initializing provider plugins found in the configuration...","@module":"terraform.ui","@timestamp":"2025-11-17T17:18:04.314Z","message_code":"initializing_provider_plugin_from_config_message","type":"init_output"}`,
247
+
UnknownLogMessage{
248
+
baseLogMessage: baseLogMessage{
249
+
Lvl: Info,
250
+
Msg: "Initializing provider plugins found in the configuration...",
`{"@level":"info","@message":"Initializing the backend...","@module":"terraform.ui","@timestamp":"2025-11-17T17:18:52.256Z","message_code":"initializing_backend_message","type":"init_output"}`,
// At this point in an init command's output there is a log message that isn't presented in JSON format:
296
+
// /*
297
+
// Successfully configured the backend "local"! Terraform will automatically
298
+
// use this backend unless the backend configuration changes.
299
+
// */
300
+
//
301
+
// See this GitHub issue: https://github.com/hashicorp/terraform/issues/37911
302
+
{
303
+
`{"@level":"info","@message":"Terraform has created a lock file .terraform.lock.hcl to record the provider\nselections it made above. Include this file in your version control repository\nso that Terraform can guarantee to make the same selections by default when\nyou run \"terraform init\" in the future.","@module":"terraform.ui","@timestamp":"2025-11-17T17:19:06.698Z","message_code":"lock_info","type":"init_output"}`,
304
+
UnknownLogMessage{
305
+
baseLogMessage: baseLogMessage{
306
+
Lvl: Info,
307
+
Msg: "Terraform has created a lock file .terraform.lock.hcl to record the provider\nselections it made above. Include this file in your version control repository\nso that Terraform can guarantee to make the same selections by default when\nyou run \"terraform init\" in the future.",
`{"@level":"info","@message":"Terraform has been successfully initialized!","@module":"terraform.ui","@timestamp":"2025-11-17T17:19:09.915Z","message_code":"output_init_success_message","type":"init_output"}`,
314
+
UnknownLogMessage{
315
+
baseLogMessage: baseLogMessage{
316
+
Lvl: Info,
317
+
Msg: "Terraform has been successfully initialized!",
`{"@level":"info","@message":"You may now begin working with Terraform. Try running \"terraform plan\" to see\nany changes that are required for your infrastructure. All Terraform commands\nshould now work.\n\nIf you ever set or change modules or backend configuration for Terraform,\nrerun this command to reinitialize your working directory. If you forget, other\ncommands will detect it and remind you to do so if necessary.","@module":"terraform.ui","@timestamp":"2025-11-17T17:19:10.553Z","message_code":"output_init_success_cli_message","type":"init_output"}`,
324
+
UnknownLogMessage{
325
+
baseLogMessage: baseLogMessage{
326
+
Lvl: Info,
327
+
Msg: "You may now begin working with Terraform. Try running \"terraform plan\" to see\nany changes that are required for your infrastructure. All Terraform commands\nshould now work.\n\nIf you ever set or change modules or backend configuration for Terraform,\nrerun this command to reinitialize your working directory. If you forget, other\ncommands will detect it and remind you to do so if necessary.",
0 commit comments