Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
7cca0304
Commit
7cca0304
authored
May 13, 2015
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the option group overridable.
parent
be4ccc76
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
util/vpc-tools/db-clone.py
+3
-1
No files found.
util/vpc-tools/db-clone.py
View file @
7cca0304
...
...
@@ -72,6 +72,8 @@ def parse_args(args=sys.argv[1:]):
help
=
"create a sql dump after launching it into the vpc"
)
parser
.
add_argument
(
'-s'
,
'--secret-var-files'
,
action
=
"append"
,
required
=
True
,
help
=
"use one or more secret var files to run ansible against the host to update db users"
)
parser
.
add_argument
(
'-o'
,
'--dest-option-group'
,
default
=
"default:mysql-5-6"
,
help
=
"the option group for the new rds."
)
return
parser
.
parse_args
(
args
)
...
...
@@ -103,7 +105,7 @@ if __name__ == '__main__':
target_db_instance_identifier
=
restore_dbid
,
use_latest_restorable_time
=
True
,
db_instance_class
=
args
.
type
,
option_group_name
=
'default:mysql-5-6'
option_group_name
=
args
.
dest_option_group
,
)
if
args
.
vpc
:
restore_args
[
'db_subnet_group_name'
]
=
args
.
subnet
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment