Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Oct 21, 2022
1 parent cc5869f commit 32db8fb
Showing 1 changed file with 28 additions and 39 deletions.
67 changes: 28 additions & 39 deletions examples/full-setup-tf-upgrade/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,51 +30,40 @@ This directory constructs the appropriate resources for the vpc2-dice-dev VPC, i

# Application Requirements

<!-- List functional and non-functional requirements here, without implementation details. -->

# Terraform Directions

## Update files to reflect proper configuration

1. start branch like 'configure-vpcN' (use N as the number)
1. flowlogs.tf
* set correct region (east, west) in `flowlog_bucket_arn`
1. variables.vpc.auto.tfvars
* put proper values for
* vpc_name
* vpc_cidr_block
* vpc_index (this is the number from vpc{number}-{name}
* vpc_short_name (vpc{number})
* vpc_full_name (vpc_short_name "-" vpc_name)
* vpc_environment
* vpc_domain_name (usually {vpc_environment}.PROGRAM.census.gov)
* proper `ip_address` for the VPN settings (replace NNN with the value from TCO)
1. variables.subnets.auto.tfvars
* comment out public subnet objects (leaving public_subets = [], in essence; we are no longer using this)
* fill in the correct values for the base cidrs, starting with the blocks as shown. These will be validated in a PR
1. commit, push, and do a PR. This must be merged before any apply. Keep your branch, as you'll have more to add to it.

Once you have a merged PR you can run through the setup

```script
tf-run apply
```

Follow the diections from `tf-run`. You'll add all the files to git, do another commit, push and PR, before things are complete.

<!-- Enter commands needed in markdown andor special configuration text for plan and apply of this code -->

<!-- No editing needed beyond this point -->
# Details

<!-- BEGIN_TF_DOCS -->
account_alias = ""
account_id = ""
aws_environment = ""
census_private_cidr = [
"148.129.0.0/16",
"172.16.0.0/12",
"192.168.0.0/16"
]
census_public_cidr = [
"148.129.0.0/16"
]
kms_tfstate_key = "k-kms-inf-tfstate"
profile = ""
region = ""
region_map = {}
regions = []
tag_costallocation = "csvd:infrastructure"
tag_creator = ""
tfstate_bucket = "inf-tfstate-252960665057"
tfstate_bucket_prefix = "inf-tfstate"
tfstate_key_prefix = "ma6-gov"
tfstate_key_suffix = "terraform.tfstate"
tfstate_region = "us-gov-east-1"
tfstate_table = "tf_remote_state"
vpc_cidr_block = ""
vpc_dns_servers = []
vpc_domain_name = ""
vpc_enable_awsdns = false
vpc_enable_igw = false
vpc_enable_nat = false
vpc_enable_vpn = true
vpc_environment = ""
vpc_full_name = ""
vpc_index = ""
vpc_name = ""
vpc_ntp_servers = []
vpc_short_name = ""
<!-- END_TF_DOCS -->

0 comments on commit 32db8fb

Please sign in to comment.