from inspect import cleandoc


def gen_gitignore(config):
    """
    Generate `.gitignore` file.
    Add files as needed.
    """


    filestoignore = """
        # ignore terraform state
        .terraform
        terraform.tfstate
        terraform.tfstate.backup
        .terraform.tfstate.lock.info

        # python
        __pycache__
    """
    return {".gitignore": cleandoc(filestoignore)}