local_file (Resource)

Generates a local file with the given content.

Example Usage

# DO NOT EDIT. Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug
from constructs import Construct
from cdktf import TerraformStack
#
# Provider bindings are generated by running `cdktf get`.
# See https://cdk.tf/provider-generation for more details.
#
from imports.local.file import File
class MyConvertedCode(TerraformStack):
    def __init__(self, scope, name):
        super().__init__(scope, name)
        File(self, "foo",
            content="foo!",
            filename="${path.module}/foo.bar"
        )

Schema

Required

Optional

Read-Only