This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from alembic.runtime.environment import EnvironmentContext | |
from alembic.script import ScriptDirectory | |
from sqlalchemy import create_engine | |
connectable = create_engine("postgresql+pg8000://some_url".format(connect_args={'ssl_context': True}) | |
alembic_script = ScriptDirectory.from_config(alembic_cfg) | |
alembic_env = EnvironmentContext(alembic_cfg, alembic_script) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Hosted Zone ID e.g. BJBK35SKMM9OE | |
ZONEID="enter zone id here" | |
# The CNAME you want to update e.g. hello.example.com | |
RECORDSET="enter cname here" | |
# More advanced options below | |
# The Time-To-Live of this recordset |