Skip to content

Commit

Permalink
update changelog, defaults, version
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Feb 24, 2023
1 parent 3c41a90 commit 2404f2e
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 12 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,3 +252,7 @@
- add prefix-list associations for peering routes (if create_prefix_list_routing)
- add static routes (if create_static_peer_routing)
- create vpn route conditional (if enable_vpn_routing)

* 2.6.0 -- 2023-02-24
- share-resources: new submodule

13 changes: 13 additions & 0 deletions common/defaults.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,18 @@ locals {
"force_detach_policies" = false
"max_session_duration" = 3600
}
#---
# organization master defaults
#---
"organization_master" = {
"aws" = {
account_profile = "109223337795-censusaws"
region = "us-east-1"
}
"aws-us-gov" = {
account_profile = "252903981224-ma5-gov"
region = "us-gov-west-1"
}
}
}
}
5 changes: 3 additions & 2 deletions common/version.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
locals {
_module_version = "2.5.0"
_module_version = "2.6.0"
_module_names = {
"_main_" = "aws-vpc-setup"

Expand All @@ -11,8 +11,9 @@ locals {
"peer" = "aws-vpc-setup/peer"
"routing" = "aws-vpc-setup/routing"
"security-groups" = "aws-vpc-setup/security-groups"
"subnets" = "aws-vpc-setup/subnets"
"tag-shared-vpc-resources" = "aws-vpc-setup/tag-shared-vpc-resources"
"share-resources" = "aws-vpc-setup/share-resources"
"subnets" = "aws-vpc-setup/subnets"
"vpc" = "aws-vpc-setup/vpc"
"vpc-interface-endpoint" = "aws-vpc-setup/vpc-interface-endpoint"
"vpn" = "aws-vpc-setup/vpn"
Expand Down
18 changes: 9 additions & 9 deletions examples/full-setup-tf-upgrade/infoblox.tf.off
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
resource "infoblox_ipv4_network_container" "vpc" {
network_view = "default"
cidr = var.vpc_cidr_block
comment = format("%v %v %v %v", "AWS", var.account_alias, local.region, var.vpc_full_name)
comment = format("%v %v %v %v", "AWS", var.account_alias, local.region, local.vpc_full_name)
}

resource "infoblox_ipv4_network_container" "vpc_public" {
for_each = { for sn in var.public_subnets: sn.label => sn }
for_each = { for sn in var.public_subnets : sn.label => sn if sn.offset==0}
network_view = "default"
cidr = each.value.base_cidr
comment = format("%v %v %v %v %v", "AWS", var.account_alias, local.region, var.vpc_full_name,each.value.label)
comment = format("%v %v %v %v %v", "AWS", var.account_alias, local.region, local.vpc_full_name, each.value.label)
}

resource "infoblox_ipv4_network_container" "vpc_private" {
for_each = { for sn in var.private_subnets: sn.label => sn }
for_each = { for sn in var.private_subnets : sn.label => sn if sn.offset==0}
network_view = "default"
cidr = each.value.base_cidr
comment = format("%v %v %v %v %v", "AWS", var.account_alias, local.region, var.vpc_full_name,each.value.label)
comment = format("%v %v %v %v %v", "AWS", var.account_alias, local.region, local.vpc_full_name, each.value.label)
}

resource "infoblox_ipv4_network" "vpc_public_subnets" {
for_each = { for sn in module.subnets.public_subnets_ids: sn.subnet => sn }
for_each = { for sn in module.subnets.public_subnets_ids : sn.subnet => sn }
network_view = "default"
cidr = each.value.subnet
comment = format("%v %v %v %v %v", "AWS", var.account_alias, local.region, var.vpc_full_name,each.value.label)
comment = format("%v %v %v %v %v", "AWS", var.account_alias, local.region, local.vpc_full_name, each.value.label)
}

resource "infoblox_ipv4_network" "vpc_private_subnets" {
for_each = { for sn in module.subnets.private_subnets_ids: sn.subnet => sn }
for_each = { for sn in module.subnets.private_subnets_ids : sn.subnet => sn }
network_view = "default"
cidr = each.value.subnet
comment = format("%v %v %v %v %v", "AWS", var.account_alias, local.region, var.vpc_full_name,each.value.label)
comment = format("%v %v %v %v %v", "AWS", var.account_alias, local.region, local.vpc_full_name, each.value.label)
}
3 changes: 2 additions & 1 deletion examples/full-setup-tf-upgrade/tgw/tf-run.data
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
VERSION 1.0.1
VERSION 1.0.3
REMOTE-STATE
COMMAND tf-directory-setup.py -l none -f
COMMAND setup-new-directory.sh
COMMAND tf-init -upgrade
COMMAND ln -sf ../variables.vpc.auto.tfvars
COMMAND ln -sf ../variables.vpc.tf
## COMMAND ln -sf ../variables.tf

ALL
COMMAND tf-directory-setup.py -l s3

0 comments on commit 2404f2e

Please sign in to comment.