tfstate: very basic terraform state backend in flask
This commit is contained in:
parent
29870639b8
commit
affa0f0149
4 changed files with 88 additions and 0 deletions
|
@ -6,6 +6,7 @@ from app.extensions import db
|
|||
from app.extensions import migrate
|
||||
from app.extensions import bootstrap
|
||||
from app.portal import portal
|
||||
from app.tfstate import tfstate
|
||||
|
||||
app = Flask(__name__)
|
||||
app.config.from_file("../config.yaml", load=yaml.safe_load)
|
||||
|
@ -14,6 +15,7 @@ migrate.init_app(app, db, render_as_batch=True)
|
|||
bootstrap.init_app(app)
|
||||
|
||||
app.register_blueprint(portal, url_prefix="/portal")
|
||||
app.register_blueprint(tfstate, url_prefix="/tfstate")
|
||||
|
||||
|
||||
@app.route('/')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue