|
def | setup_args (self, parser) |
|
def | check_name (self, name) |
|
def | create_passphrase (self) |
|
def | run (self, args) |
|
def | prerun (self, *args, **kwargs) |
|
def | get_stack (self, name) |
|
Public Member Functions inherited from cli.base.HostingCommand |
def | add_stack_argument (self, *args, env=DEFAULT_STACK_ENV, help=None, metavar='STACK_NAME', **kwargs) |
|
def | check_requirements (self, stack) |
|
|
string | name = 'create' |
|
| dns_compat = re.compile("(?!-)[A-Z\d-]{1,63}(?<!-)$", re.IGNORECASE) |
|
string | stacks_bucket = 'homecu.odyssey.stacks' |
|
Static Public Attributes inherited from cli.base.HostingCommand |
| allowed_states = set() |
|
string | min_version = "0" |
|
| max_version = VERSION |
|
Create a new Odyssey stack in AWS <b>[use caution]</b>.
Definition at line 572 of file stack.py.
◆ check_name()
def cli.stack.CreateCommand.check_name |
( |
|
self, |
|
|
|
name |
|
) |
| |
Raise exception if stack name is not valid.
Definition at line 628 of file stack.py.
628 def check_name(self, name):
629 """ Raise exception if stack name is not valid. """ 631 raise SystemExit(
'Name too long')
632 if not self.dns_compat.match(name):
633 raise SystemExit(
'Name is not DNS compatible')
The documentation for this class was generated from the following file: