Optional
args: TerraformArgsarguments
Add blocks into Terraform.
Rest
...blocks: Block<TerraformArgs>[]blocks
Add variable values into Terraform.
variables
Add backend into Terraform.
Refer to Terraform documentation on what can be put as type & arguments.
type
arguments
Add data source into Terraform.
Refer to Terraform documentation on what can be put as type & arguments.
type
name
arguments
Convert resource into data source and add it into Terraform.
resource
options
names of resource arguments to be converted into data source arguments; use array for name mapping, position 0 = original resource's argument name, position 1 = mapped data source's argument name
Optional
args: TerraformArgsextra arguments
Get arguments.
Get blocks.
Get variables.
Add import into Terraform.
Refer to Terraform documentation on what can be put as arguments.
arguments
Add locals into Terraform.
Refer to Terraform documentation on what can be put as arguments.
arguments
Merge this instance with other TerraformGenerator instances.
Rest
...tfgs: TerraformGenerator[]other instances
Add module into Terraform.
Refer to Terraform documentation on what can be put as arguments.
name
arguments
Add output into Terraform.
Refer to Terraform documentation on what can be put as arguments.
name
arguments
Add provider into Terraform.
Refer to Terraform documentation on what can be put as type & arguments.
type
arguments
Add removed into Terraform.
Refer to Terraform documentation on what can be put as type & arguments.
arguments
Add resource into Terraform.
Refer to Terraform documentation on what can be put as type & arguments.
type
name
arguments
Optional
provisioners: Provisioner[]provisioners
Add variable into Terraform.
Refer to Terraform documentation on what can be put as arguments.
name
arguments
Optional
value: anyvariable value
Write Terraform configuration to a file.
Optional
options: WriteOptionsoptions
Construct Terraform generator.
Refer to Terraform documentation on what can be put as arguments.