Skip to main content

TerraformFoldersWrittenEvent

This event is emitted when generate finishes writing terragrunt module folders. emptied lists folders written without resources, because their module left intent.

@group

Events/Terraform

Hierarchy

  • TerraformEvent<{ emptied: string[]; outputDir: string; written: string[] }>
    • TerraformFoldersWrittenEvent

Index

Constructors

Properties

Constructors

constructor

  • TerraformFoldersWrittenEvent(name?: string, payload?: { emptied: string[]; outputDir: string; written: string[] }): TerraformFoldersWrittenEvent
  • Parameters

    • optionalname: string

      The subject of the event, when the event type alone does not identify it.

    • optionalpayload: { emptied: string[]; outputDir: string; written: string[] }

      The event's data.

      • emptied: string[]
      • outputDir: string
      • written: string[]

    Returns TerraformFoldersWrittenEvent

Properties

readonlyinheritedheader

header: { sequence: number; timestamp: number }

When the event was created. sequence counts every event this process created, so it orders two events created in the same millisecond, and events a late listener receives replayed.


Type declaration

  • sequence: number
  • timestamp: number

readonlyinheritedname

name: string

The subject of the event, when the event type alone does not identify it - e.g. the class name on a registration event. Empty otherwise.

readonlyinheritedpayload

payload: { emptied: string[]; outputDir: string; written: string[] }

The event's data. Its shape is fixed by the event type.


Type declaration

  • emptied: string[]
  • outputDir: string
  • written: string[]
Page Options