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
OpenEdx
configuration
Commits
3fb74a02
Commit
3fb74a02
authored
Apr 25, 2016
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Look at the right tags.
parent
02553e73
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletions
+13
-1
util/vpc-tools/abbey.py
+13
-1
No files found.
util/vpc-tools/abbey.py
View file @
3fb74a02
...
...
@@ -157,6 +157,18 @@ def get_instance_sec_group(vpc_id):
)
if
len
(
grp_details
)
<
1
:
#
# try scheme for non-cloudformation builds
#
grp_details
=
ec2
.
get_all_security_groups
(
filters
=
{
'tag:play'
:
args
.
play
,
'tag:environment'
:
args
.
environment
,
'tag:deployment'
:
args
.
deployment
}
)
if
len
(
grp_details
)
<
1
:
sys
.
stderr
.
write
(
"ERROR: Expected atleast one security group, got {}
\n
"
.
format
(
len
(
grp_details
)))
...
...
@@ -202,7 +214,7 @@ def create_instance_args():
subnet
=
vpc
.
get_all_subnets
(
filters
=
{
'tag:
cluster
'
:
args
.
play
,
'tag:
play
'
:
args
.
play
,
'tag:environment'
:
args
.
environment
,
'tag:deployment'
:
args
.
deployment
}
)
...
...
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