MCPcopy Create free account
hub / github.com/aws/aws-cli / _validate_override_config

Method _validate_override_config

awscli/customizations/codedeploy/install.py:89–98  ·  view source on GitHub ↗
(self, params)

Source from the content-addressed store, hash-verified

87 return 0
88
89 def _validate_override_config(self, params):
90 if (
91 os.path.isfile(params.system.CONFIG_PATH)
92 and not params.override_config
93 ):
94 raise RuntimeError(
95 'The on-premises instance configuration file already exists. '
96 'Specify --override-config to update the existing on-premises '
97 'instance configuration file.'
98 )
99
100 def _validate_agent_installer(self, params):
101 validate_s3_location(params, 'agent_installer')

Callers 1

_run_mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected