Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
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
ansible
Commits
1f813ba1
Commit
1f813ba1
authored
Jul 05, 2014
by
James Cammarata
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8022 from psa/vpc-gateway-peering
Fix for #7368 breaks peering connections. Unreak them.
parents
7f8de3a2
97b3e8c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
library/cloud/ec2_vpc
+3
-1
No files found.
library/cloud/ec2_vpc
View file @
1f813ba1
...
...
@@ -427,8 +427,10 @@ def create_vpc(module, vpc_conn):
'(igw) route, but you have no Internet Gateway'
)
route_kwargs
[
'gateway_id'
]
=
igw
.
id
el
se
:
el
if
route
[
'gw'
]
.
startswith
(
'i-'
)
:
route_kwargs
[
'instance_id'
]
=
route
[
'gw'
]
else
:
route_kwargs
[
'gateway_id'
]
=
route
[
'gw'
]
vpc_conn
.
create_route
(
new_rt
.
id
,
route
[
'dest'
],
**
route_kwargs
)
# Associate with subnets
...
...
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