massdriver-cloud / massdriver-cli

Deprecated. See https://github.com/massdriver-cloud/mass
https://massdriver.cloud
Apache License 2.0
3 stars 2 forks source link

Change names of development input files #103

Closed coryodaniel closed 2 years ago

coryodaniel commented 2 years ago

So this is going to be a giant PITA for us developing locally, but we need to change our recommended file names for dev params and connections to:

We’ll need to generate these as a part of the bundle and app templates and include them in the gitignore. If developers want to use other auto.tfvars.json files, thats fine, but these ones are where we should be injecting params and connections. Its where we put them in xo, and now we need to surface that in app templates.

The full list of files should be:

# Generated JSON Schemas for the massdriver UI
schema-artifacts.json
schema-connections.json
schema-params.json
schema-ui.json

# Auto generated terraform variable files
_connections_variables.tf.json
_md_variables.tf.json
_params_variables.tf.json

# For setting variable input values during local development
_connections.auto.tfvars.json
_params.auto.tfvars.json
WillBeebe commented 2 years ago

Bundle template changes here:

https://github.com/massdriver-cloud/massdriver-cli/pull/112

WillBeebe commented 2 years ago

In that PR didn't take on the tf_helper changes to the template, just the dev files and gitignore. ^

coryodaniel commented 2 years ago

coolio!