-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
using latest acs-info module to create bastions on non-oit accounts
- Loading branch information
Showing
4 changed files
with
14 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ provider "aws" { | |
} | ||
module "bastion" { | ||
source = "[email protected]:byu-oit/terraform-aws-bastion.git?ref=v1.1.0" | ||
source = "[email protected]:byu-oit/terraform-aws-bastion.git?ref=v1.1.1" | ||
env = "prd" | ||
vpc_vpn_to_campus = true | ||
netid = "mynetid" | ||
|
@@ -70,6 +70,7 @@ The bastion is really intended to be ephemeral (spin it up, use it, tear it down | |
## Input | ||
| Name | Description | Default Value | | ||
| --- | --- | --- | | ||
| dept_abbr| string | AWS Account department abbreviation (e.g. oit, trn) | oit | | ||
| env | Environment of the AWS Account (for finding the shared VPC and tagging the bastion) (e.g. dev, prd)| | | ||
| vpc_vpn_to_campus | Set to true if the bastion needs to be in the VPC that has VPN access to campus | false | | ||
| netid | Your Net ID (for naming the bastion) | | | ||
|
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 |
---|---|---|
|
@@ -4,10 +4,11 @@ provider "aws" { | |
} | ||
|
||
module "bastion" { | ||
#source = "[email protected]:byu-oit/terraform-aws-bastion.git?ref=v1.1.0" | ||
source = "../../" | ||
env = "prd" | ||
vpc_vpn_to_campus = true | ||
source = "[email protected]:byu-oit/terraform-aws-bastion.git?ref=v1.1.1" | ||
#source = "../../" | ||
dept_abbr = "ces" | ||
env = "dev" | ||
vpc_vpn_to_campus = false | ||
netid = "mynetid" | ||
public_key = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCwWVPlHpRiXGBmB/VG6PUeJ/Ev+Y39n5PBI4DW3ZMDT1g32nEUjzKtxK6KwVzYFQBhReMO2ry4uSTiNIzuOtHk/OCfcdPc8wbW3RlHBgbqs6p7DfYRJAXJCnWEjovijaVY0lyL4+7/YuprZwBaA2NfUIRN8UwVxZck3ULMnCK6BKog0UAE9NQZ9Z0vAtgLYPo9eVJEuGrxEszN29X+4Fl6u3T8x0XQ9EoMWU4YNwKfzBIof3th9Cbv4+FlEKpOFYuCc5vB2NPotalN8phEUqnvtsDkmCLAop6+MrUlnNNYIzmh2RLeqDF+M/ZnX8xb+V/mT9vARVcdcYCxKYeyXLvT example" | ||
#ingress_cidrs = ["128.187.112.21/32"] # optional (defaults to BYU Campus) | ||
|
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 |
---|---|---|
|
@@ -6,7 +6,8 @@ terraform { | |
} | ||
|
||
module "acs" { | ||
source = "[email protected]:byu-oit/terraform-aws-acs-info.git?ref=v1.1.0" | ||
source = "[email protected]:byu-oit/terraform-aws-acs-info.git?ref=v1.2.2" | ||
dept_abbr = var.dept_abbr | ||
env = var.env | ||
vpc_vpn_to_campus = var.vpc_vpn_to_campus | ||
} | ||
|
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