Giter Site home page Giter Site logo

copier-terraform-repo-template's Introduction

Copier Terraform Module

This project is a copier template for creating Terraform projects and modules.

The copier template provided here is used to stamp out the GitHub repository template: aws-ia/terraform-repo-template.

Prerequisites

This project template uses the copier framework to facilitate project generation. Copier is a Python CLI and library for rendering project templates.

In order to use this template (and copier, generally), you must first install Python, git, and the copier module.

Note: Please refer to the official Copier documentation if you encounter difficulty here.

Usage

This project generation template can be used by first installing the pre-requisites annotated above, followed by direct usage of this repository (depending on intended usecase):

CLI

# Directly against GitHub repository using HTTPS
copier "https://github.com/aws-ia/copier-terraform-repo-template.git" target/project/path

# or directly against GitHub using the gh shortcut
copier "gh:aws-ia/copier-terraform-repo-template" target/project/path

Programmatically (Python)

from copier import run_auto

# Create a project from this upstream GitHub repository
run_auto("https://github.com/aws-ia/copier-terraform-repo-template.git", "target/project/pathn")

# You can also use "gh:" as a shortcut of "https://github.com/"
run_auto("gh:aws-ia/copier-terraform-repo-template", "target/project/path")

Note: Please refer to the official Copier documentation for further information on using copier either programmatically or via the CLI here.

copier-terraform-repo-template's People

Contributors

drewmullen avatar mbeacom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

mbeacom craigspaz

copier-terraform-repo-template's Issues

Copier 5.x / 6.x Compatibility

Copier recently released the new major 6.x which (as of 6.0) modifies the jinja2 templating patterns (notably from brackets to braces).
This causes incompatibility issues if _envops configuration isn't explicitly set.
Per the copier documentation, backwards compatibility with 5.x can be achieved by explicitly setting the block_, comment_, and variable_ values for start and end string configuration values.

ref: https://copier.readthedocs.io/en/stable/configuring/#envops

Need doc section on updating repos

  1. how can we update certain files in repos that have new commits ontop of the template git log?
  2. how can we avoid updating certain files?
  • dont want to update someones .header.md or readme.md, etc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.