-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ISSUE 502]: Create DMS Internal Networking components (#694)
* Some networking for security groups * Add egress rule * Add dms module * add vpc rules * typo * add peering connection ref * add more descriptive comments --------- Co-authored-by: Alsia Plybeah <[email protected]>
- Loading branch information
1 parent
086cecf
commit 68a95e7
Showing
6 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Add Security Groups for VPC -> DMS here | ||
data "aws_caller_identity" "current" {} | ||
data "aws_region" "current" {} | ||
|
||
# This connection was created in the console, the provided arguments act more as a query than a reference | ||
data "aws_vpc_peering_connection" "dms" { | ||
owner_id = data.aws_caller_identity.current.account_id | ||
cidr_block = "172.31.0.0/16" # our cidr block, where the target database for the DMS is located | ||
peer_cidr_block = "10.220.0.0/16" # their cidr block, where the origin database for the DMS is located | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|